diff options
Diffstat (limited to 'src/bytecode/main.c')
-rwxr-xr-x | src/bytecode/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bytecode/main.c b/src/bytecode/main.c index d6cb5d3..bad150c 100755 --- a/src/bytecode/main.c +++ b/src/bytecode/main.c | |||
@@ -49,9 +49,9 @@ process_source(const StringView *source) { | |||
49 | } | 49 | } |
50 | 50 | ||
51 | // Interpret chunk. | 51 | // Interpret chunk. |
52 | vm_interpret(vm, chunk); | 52 | vm_interpret(&vm, chunk); |
53 | if (errors_n != 0) { | 53 | if (errors_n != 0) { |
54 | disassemble_chunk(vm.chunk, "test chunk"); | 54 | disassemble_chunk(vm.chunk, "current chunk"); |
55 | } | 55 | } |
56 | 56 | ||
57 | chunk_free(chunk); | 57 | chunk_free(chunk); |