(index, op)
| 2625 | } |
| 2626 | |
| 2627 | insert(index, op) { |
| 2628 | if (index < 0) |
| 2629 | index += this.code.length; |
| 2630 | |
| 2631 | assert(Opcode.isOpcode(op)); |
| 2632 | assert(index >= 0 && index <= this.code.length); |
| 2633 | |
| 2634 | this.code.splice(index, 0, op); |
| 2635 | |
| 2636 | return this; |
| 2637 | } |
| 2638 | |
| 2639 | /* |
| 2640 | * Op |
no test coverage detected