(pc, dest int)
| 399 | } |
| 400 | |
| 401 | func (f *function) fixJump(pc, dest int) { |
| 402 | f.assert(f.isJumpListWalkable(pc)) |
| 403 | f.assert(dest != noJump) |
| 404 | offset := dest - (pc + 1) |
| 405 | if abs(offset) > maxArgSBx { |
| 406 | f.p.syntaxError("control structure too long") |
| 407 | } |
| 408 | f.f.code[pc].setSBx(offset) |
| 409 | } |
| 410 | |
| 411 | func (f *function) Label() int { |
| 412 | f.lastTarget = len(f.f.code) |
no test coverage detected