1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 19:19:53 +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_OP(JOP_NEXT)
vm_commit();
stack[A] = janet_next(stack[B], stack[C]);
vm_pcnext();