reverse builtin instructions
This commit is contained in:
@@ -491,8 +491,8 @@ fn get_builtins(atom_tbl: TabledData<Atom>) -> Code {
|
|||||||
trust_me!(),
|
trust_me!(),
|
||||||
allocate!(0),
|
allocate!(0),
|
||||||
goto_call!(352, 0), // goto run_cleaners_without_handling/0, 352.
|
goto_call!(352, 0), // goto run_cleaners_without_handling/0, 352.
|
||||||
fail!(),
|
|
||||||
deallocate!(),
|
deallocate!(),
|
||||||
|
fail!(),
|
||||||
try_me_else!(10), // run_cleaners_with_handling/0, 340.
|
try_me_else!(10), // run_cleaners_with_handling/0, 340.
|
||||||
allocate!(2),
|
allocate!(2),
|
||||||
get_level!(perm_v!(1)),
|
get_level!(perm_v!(1)),
|
||||||
|
|||||||
@@ -494,8 +494,6 @@ fn compile_decl<'a, 'b: 'a>(wam: &'a mut Machine, tl: &'b TopLevel, queue: &'b V
|
|||||||
return EvalSession::from(e);
|
return EvalSession::from(e);
|
||||||
};
|
};
|
||||||
|
|
||||||
print_code(&code);
|
|
||||||
|
|
||||||
if !code.is_empty() {
|
if !code.is_empty() {
|
||||||
if let Some(name) = tl.name() {
|
if let Some(name) = tl.name() {
|
||||||
wam.add_user_code(name, tl.arity(), code)
|
wam.add_user_code(name, tl.arity(), code)
|
||||||
|
|||||||
Reference in New Issue
Block a user