Merge branch 'main' of ssh://git.jeffa.io:22022/jeff/dust
This commit is contained in:
commit
13ddcf766f
@ -1352,6 +1352,11 @@ impl Thread {
|
|||||||
|
|
||||||
function.call(instruction, &mut self);
|
function.call(instruction, &mut self);
|
||||||
}
|
}
|
||||||
|
Operation::CALL_NATIVE => {
|
||||||
|
let function = NativeFunction::from(instruction.b_field());
|
||||||
|
|
||||||
|
function.call(instruction, &mut self);
|
||||||
|
}
|
||||||
Operation::JUMP => {
|
Operation::JUMP => {
|
||||||
let offset = instruction.b_field() as usize;
|
let offset = instruction.b_field() as usize;
|
||||||
let is_positive = instruction.c_field() != 0;
|
let is_positive = instruction.c_field() != 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user