diff options
Diffstat (limited to 'dbg.d')
| -rw-r--r-- | dbg.d | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -153,6 +153,20 @@ int disassemble(Chunk chunk, int offset) { ubyte inst = chunk.code[offset]; switch (inst) { + case OpCode.OP_IS_NIL: + return simpleInstruction("OP_IS_NIL", offset); + case OpCode.OP_DUPLICATE: + return simpleInstruction("OP_DUPLICATE", offset); + case OpCode.OP_DUPLICATE_2: + return simpleInstruction("OP_DUPLICATE_2", offset); + case OpCode.OP_ROTATE_N: + return simpleInstruction("OP_ROTATE_N", offset); + case OpCode.OP_ZERO: + return simpleInstruction("OP_ZERO", offset); + case OpCode.OP_INCREMENT: + return simpleInstruction("OP_INCREMENT", offset); + case OpCode.OP_LIST_N: + return simpleInstruction("OP_LIST_N", offset); case OpCode.OP_DEF_LOCAL: return byteInstruction("OP_DEF_LOCAL", chunk, offset); case OpCode.OP_GET_LOCAL: |
