File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -798,14 +798,14 @@ static JanetSignal run_vm(JanetFiber *fiber, Janet in) {
798
798
vm_pcnext ();
799
799
800
800
VM_OP (JOP_JUMP )
801
- pc += DS ;
802
801
vm_maybe_auto_suspend (DS <= 0 );
802
+ pc += DS ;
803
803
vm_next ();
804
804
805
805
VM_OP (JOP_JUMP_IF )
806
806
if (janet_truthy (stack [A ])) {
807
- pc += ES ;
808
807
vm_maybe_auto_suspend (ES <= 0 );
808
+ pc += ES ;
809
809
} else {
810
810
pc ++ ;
811
811
}
@@ -815,15 +815,15 @@ static JanetSignal run_vm(JanetFiber *fiber, Janet in) {
815
815
if (janet_truthy (stack [A ])) {
816
816
pc ++ ;
817
817
} else {
818
- pc += ES ;
819
818
vm_maybe_auto_suspend (ES <= 0 );
819
+ pc += ES ;
820
820
}
821
821
vm_next ();
822
822
823
823
VM_OP (JOP_JUMP_IF_NIL )
824
824
if (janet_checktype (stack [A ], JANET_NIL )) {
825
- pc += ES ;
826
825
vm_maybe_auto_suspend (ES <= 0 );
826
+ pc += ES ;
827
827
} else {
828
828
pc ++ ;
829
829
}
@@ -833,8 +833,8 @@ static JanetSignal run_vm(JanetFiber *fiber, Janet in) {
833
833
if (janet_checktype (stack [A ], JANET_NIL )) {
834
834
pc ++ ;
835
835
} else {
836
- pc += ES ;
837
836
vm_maybe_auto_suspend (ES <= 0 );
837
+ pc += ES ;
838
838
}
839
839
vm_next ();
840
840
You can’t perform that action at this time.
0 commit comments