diff options
Diffstat (limited to 'clox/src/debug.c')
-rw-r--r-- | clox/src/debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clox/src/debug.c b/clox/src/debug.c index 3f3c289..7ba728d 100644 --- a/clox/src/debug.c +++ b/clox/src/debug.c @@ -94,6 +94,8 @@ int disassembleInstruction(Chunk *chunk, int offset) { return jumpInstruction("OP_JUMP_IF_FALSE", 1, chunk, offset); case OP_LOOP: return jumpInstruction("OP_LOOP", -1, chunk, offset); + case OP_CALL: + return byteInstruction("OP_CALL", chunk, offset); case OP_RETURN: return simpleInstruction("OP_RETURN", offset); default: |