pop value from the stack at the end of VM execution

This commit is contained in:
Yuichi Nishiwaki
2013-10-14 17:05:49 +09:00
parent 298a8e685f
commit daa65bdecf
+1 -1
View File
@@ -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