mirror of
https://github.com/janet-lang/janet
synced 2025-06-03 23:24:13 +00:00
Revert change to propagate op code.
This commit is contained in:
parent
bd2e335063
commit
fbe3849b4b
@ -1065,11 +1065,7 @@ static JanetSignal run_vm(JanetFiber *fiber, Janet in) {
|
|||||||
janet_status_names[sub_status]);
|
janet_status_names[sub_status]);
|
||||||
}
|
}
|
||||||
fiber->child = f;
|
fiber->child = f;
|
||||||
if (janet_checktype(stack[B], JANET_NIL)) {
|
vm_return((int) sub_status, stack[B]);
|
||||||
vm_return((int) sub_status, f->last_value);
|
|
||||||
} else {
|
|
||||||
vm_return((int) sub_status, stack[B]);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
VM_OP(JOP_CANCEL) {
|
VM_OP(JOP_CANCEL) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user