(list int)
| 440 | } |
| 441 | |
| 442 | func (f *function) needValue(list int) bool { |
| 443 | f.assert(f.isJumpListWalkable(list)) |
| 444 | for ; list != noJump; list = f.jump(list) { |
| 445 | if f.jumpControl(list).opCode() != opTestSet { |
| 446 | return true |
| 447 | } |
| 448 | } |
| 449 | return false |
| 450 | } |
| 451 | |
| 452 | func (f *function) patchTestRegister(node, register int) bool { |
| 453 | if i := f.jumpControl(node); i.opCode() != opTestSet { |
no test coverage detected