diff options
| author | Ben Winston | 2023-05-21 19:55:04 -0400 |
|---|---|---|
| committer | Ben Winston | 2023-05-21 19:55:04 -0400 |
| commit | a26bfccdc52ab50a83b8f8d170c9e1a3be0164a5 (patch) | |
| tree | b12118bebf7e22a29fa4d953ee3a8b7085008612 /dbg.d | |
| parent | 618de4c70d8916f64781997f3ae538e3e6109d00 (diff) | |
'or' control statement
Diffstat (limited to 'dbg.d')
| -rw-r--r-- | dbg.d | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -147,6 +147,8 @@ int disassemble(Chunk chunk, int offset) { return jumpInstruction("OP_JUMP", 1, chunk, offset); case OpCode.OP_JUMP_IF_FALSE: return jumpInstruction("OP_JUMP_IF_FALSE", 1, chunk, offset); + case OpCode.OP_JUMP_IF_TRUE: + return jumpInstruction("OP_JUMP_IF_TRUE", 1, chunk, offset); default: writeln("unknown opcode?"); |
