()
| 367 | } |
| 368 | |
| 369 | func (f *function) Jump() int { |
| 370 | f.assert(f.isJumpListWalkable(f.jumpPC)) |
| 371 | jumpPC := f.jumpPC |
| 372 | f.jumpPC = noJump |
| 373 | return f.Concatenate(f.encodeAsBx(opJump, 0, noJump), jumpPC) |
| 374 | } |
| 375 | |
| 376 | func (f *function) JumpTo(target int) { f.PatchList(f.Jump(), target) } |
| 377 | func (f *function) ReturnNone() { f.EncodeABC(opReturn, 0, 1, 0) } |
no test coverage detected