(l1, l2 int)
| 513 | } |
| 514 | |
| 515 | func (f *function) Concatenate(l1, l2 int) int { |
| 516 | f.assert(f.isJumpListWalkable(l1)) |
| 517 | switch { |
| 518 | case l2 == noJump: |
| 519 | case l1 == noJump: |
| 520 | return l2 |
| 521 | default: |
| 522 | list := l1 |
| 523 | for next := f.jump(list); next != noJump; list, next = next, f.jump(next) { |
| 524 | } |
| 525 | f.fixJump(list, l2) |
| 526 | } |
| 527 | return l1 |
| 528 | } |
| 529 | |
| 530 | func (f *function) addConstant(k, v value) int { |
| 531 | if index, ok := f.constantLookup[k]; ok && f.f.constants[index] == v { |
no test coverage detected