reverse builtin instructions

This commit is contained in:
Mark Thom
2018-02-02 17:10:57 -07:00
parent 9c2e8dfd72
commit 23f81946c5
2 changed files with 4 additions and 6 deletions

View File

@@ -491,8 +491,8 @@ fn get_builtins(atom_tbl: TabledData<Atom>) -> Code {
trust_me!(),
allocate!(0),
goto_call!(352, 0), // goto run_cleaners_without_handling/0, 352.
fail!(),
deallocate!(),
fail!(),
try_me_else!(10), // run_cleaners_with_handling/0, 340.
allocate!(2),
get_level!(perm_v!(1)),

View File

@@ -494,8 +494,6 @@ fn compile_decl<'a, 'b: 'a>(wam: &'a mut Machine, tl: &'b TopLevel, queue: &'b V
return EvalSession::from(e);
};
print_code(&code);
if !code.is_empty() {
if let Some(name) = tl.name() {
wam.add_user_code(name, tl.arity(), code)