diff --git a/src/vm.c b/src/vm.c index df79f550..851f02f1 100644 --- a/src/vm.c +++ b/src/vm.c @@ -213,7 +213,7 @@ pic_run(pic_state *pic, struct pic_proc *proc, pic_value args) } VM_LOOP_END; STOP: - return *sp; + return POP(); } void