aboutsummaryrefslogtreecommitdiffstats
path: root/clox/src/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'clox/src/debug.c')
-rw-r--r--clox/src/debug.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clox/src/debug.c b/clox/src/debug.c
index 4a39811..b8e4a48 100644
--- a/clox/src/debug.c
+++ b/clox/src/debug.c
@@ -86,6 +86,8 @@ int disassembleInstruction(Chunk *chunk, int offset) {
return constantInstruction("OP_GET_PROPERTY", chunk, offset);
case OP_SET_PROPERTY:
return constantInstruction("OP_SET_PROPERTY", chunk, offset);
+ case OP_GET_SUPER:
+ return constantInstruction("OP_GET_SUPER", chunk, offset);
case OP_EQUAL:
return simpleInstruction("OP_EQUAL", offset);
case OP_GREATER:
@@ -116,6 +118,8 @@ int disassembleInstruction(Chunk *chunk, int offset) {
return byteInstruction("OP_CALL", chunk, offset);
case OP_INVOKE:
return invokeInstruction("OP_INVOKE", chunk, offset);
+ case OP_SUPER_INVOKE:
+ return invokeInstruction("OP_SUPER_INVOKE", chunk, offset);
case OP_CLOSURE: {
offset++;
uint8_t constant = chunk->code[offset++];