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:
parent
7e7498350f
commit
58374623b7
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user