From 9ee73a8459eb2bb58adc29da02de312b7e4e7dca Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sat, 5 Aug 2023 04:15:17 +0100 Subject: refactor hashtables, and use objstrings for keys doesn't yet work without string interning, which will require further refactoring --- vm.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'vm.c') diff --git a/vm.c b/vm.c index 4933614..acbfaa3 100644 --- a/vm.c +++ b/vm.c @@ -55,17 +55,6 @@ Vm vm_new(Chunk *ch) { void runvm(Chunk *ch) { - // Chunk ch = chunk_new(); - - // chunk_wbc(&ch, OP_LOADK); - // chunk_wbc(&ch, chunk_wconst(&ch, VAL_NUM(10.0))); - // chunk_wbc(&ch, OP_LOADK); - // chunk_wbc(&ch, chunk_wconst(&ch, VAL_NUM(3.0))); - // chunk_wbc(&ch, OP_DIV); - // chunk_wbc(&ch, OP_PRINT); - - // chunk_wbc(&ch, OP_RET); - disasm_chunk(ch); -- cgit v1.2.3