dont accidentally use these until they are done
This commit is contained in:
parent
9f8575e5a2
commit
1191dd7476
4
vm/vm.c
4
vm/vm.c
|
|
@ -57,7 +57,7 @@ bool step_vm() {
|
|||
mp += stack[--sp];
|
||||
/* jump to dest_ptr */
|
||||
pc = fn_ptr;
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
case OP_RETURN: {
|
||||
/* TODO: Fix this one so it makes sense with a stack based system */
|
||||
|
|
@ -91,7 +91,7 @@ bool step_vm() {
|
|||
|
||||
/* jump to parent frame */
|
||||
pc = return_address;
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
case OP_SYSCALL: {
|
||||
u32 id = stack[--sp]; /* syscall id */
|
||||
|
|
|
|||
Loading…
Reference in New Issue