diff options
Diffstat (limited to 'src/bytecode/debug.h')
-rwxr-xr-x | src/bytecode/debug.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/bytecode/debug.h b/src/bytecode/debug.h index e2e3756..e34b65f 100755 --- a/src/bytecode/debug.h +++ b/src/bytecode/debug.h | |||
@@ -77,11 +77,6 @@ disassemble_instruction(Chunk *chunk, size_t offset) { | |||
77 | } | 77 | } |
78 | u8 instruction = chunk->code[offset]; | 78 | u8 instruction = chunk->code[offset]; |
79 | switch (instruction) { | 79 | switch (instruction) { |
80 | case OP_LOCAL: { | ||
81 | u8 local = chunk->code[offset + 1]; | ||
82 | printf("%-16s %4d\n", ops_str[instruction], local); | ||
83 | return offset + 2; | ||
84 | } break; | ||
85 | case OP_CONSTANT: { | 80 | case OP_CONSTANT: { |
86 | u8 constant = chunk->code[offset + 1]; | 81 | u8 constant = chunk->code[offset + 1]; |
87 | printf("%-16s %4d -> ", ops_str[instruction], constant); | 82 | printf("%-16s %4d -> ", ops_str[instruction], constant); |