From 4e77cfa61262a03055aeb273108fd9a49e8dfa4f Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 13 Aug 2022 00:04:31 -0700 Subject: Chapter 27.4 --- clox/src/debug.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'clox/src/debug.c') diff --git a/clox/src/debug.c b/clox/src/debug.c index a2c2c53..fe96c3d 100644 --- a/clox/src/debug.c +++ b/clox/src/debug.c @@ -73,6 +73,10 @@ int disassembleInstruction(Chunk *chunk, int offset) { return byteInstruction("OP_GET_UPVALUE", chunk, offset); case OP_SET_UPVALUE: return byteInstruction("OP_SET_UPVALUE", chunk, offset); + case OP_GET_PROPERTY: + return constantInstruction("OP_GET_PROPERTY", chunk, offset); + case OP_SET_PROPERTY: + return constantInstruction("OP_SET_PROPERTY", chunk, offset); case OP_EQUAL: return simpleInstruction("OP_EQUAL", offset); case OP_GREATER: -- cgit v1.2.3-54-g00ecf