(index, op)
| 2601 | } |
| 2602 | |
| 2603 | set(index, op) { |
| 2604 | if (index < 0) |
| 2605 | index += this.code.length; |
| 2606 | |
| 2607 | assert(Opcode.isOpcode(op)); |
| 2608 | assert(index >= 0 && index <= this.code.length); |
| 2609 | |
| 2610 | this.code[index] = op; |
| 2611 | |
| 2612 | return this; |
| 2613 | } |
| 2614 | |
| 2615 | push(op) { |
| 2616 | assert(Opcode.isOpcode(op)); |