forked from koniifer/ableos
update environ call
This commit is contained in:
parent
1e47b6242f
commit
b2870bf2b0
|
@ -347,20 +347,6 @@ F5-F9 {:016X} {:016X} {:016X} {:016X} {:016X}",
|
|||
}
|
||||
}
|
||||
|
||||
(10, int) => {
|
||||
trace!("Enviroment Call {}", int);
|
||||
let ret = self.enviroment_call_table[int as usize](self);
|
||||
match ret {
|
||||
Ok(eng) => {
|
||||
trace!("Resuming execution at {}", eng.index);
|
||||
}
|
||||
Err(err) => {
|
||||
return Err(HostError(err));
|
||||
}
|
||||
}
|
||||
self.index += 2;
|
||||
}
|
||||
|
||||
(100, _) => {
|
||||
if self.call_stack.len() > self.config.call_stack_depth {
|
||||
trace!("Callstack {}", self.call_stack.len());
|
||||
|
@ -391,6 +377,20 @@ F5-F9 {:016X} {:016X} {:016X} {:016X} {:016X}",
|
|||
}
|
||||
}
|
||||
|
||||
(255, int) => {
|
||||
trace!("Enviroment Call {}", int);
|
||||
let ret = self.enviroment_call_table[int as usize](self);
|
||||
match ret {
|
||||
Ok(eng) => {
|
||||
trace!("Resuming execution at {}", eng.index);
|
||||
}
|
||||
Err(err) => {
|
||||
return Err(HostError(err));
|
||||
}
|
||||
}
|
||||
self.index += 2;
|
||||
}
|
||||
|
||||
_op_pair => {
|
||||
// println!("OP Pair {}", op_pair.0);
|
||||
self.index += 1;
|
||||
|
|
Loading…
Reference in a new issue