1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-25 01:37:19 +00:00

Add a vm_commit before JOP_NEXT.

This commit is contained in:
Calvin Rose 2020-08-13 22:28:50 -05:00
parent 7e7498350f
commit 58374623b7

View File

@ -810,6 +810,7 @@ static JanetSignal run_vm(JanetFiber *fiber, Janet in) {
vm_pcnext(); vm_pcnext();
VM_OP(JOP_NEXT) VM_OP(JOP_NEXT)
vm_commit();
stack[A] = janet_next(stack[B], stack[C]); stack[A] = janet_next(stack[B], stack[C]);
vm_pcnext(); vm_pcnext();