aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode/vm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bytecode/vm.h')
-rwxr-xr-xsrc/bytecode/vm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bytecode/vm.h b/src/bytecode/vm.h
index 6c44fc6..2bc5c8a 100755
--- a/src/bytecode/vm.h
+++ b/src/bytecode/vm.h
@@ -261,6 +261,7 @@ vm_interpret(VM *vm) {
261 } break; 261 } break;
262 case OP_CALL: { 262 case OP_CALL: {
263 Object proc = array_pop(vm->stack); 263 Object proc = array_pop(vm->stack);
264 // disassemble_chunk(proc.chunk);
264 265
265 // Tail-call optimization. 266 // Tail-call optimization.
266 if (proc.chunk != frame->chunk || *vm->pc != OP_RETURN) { 267 if (proc.chunk != frame->chunk || *vm->pc != OP_RETURN) {