add support for setup_call_cleanup

This commit is contained in:
Mark Thom
2018-02-01 23:03:57 -07:00
parent d1c281ac0a
commit 7b5a2786da
14 changed files with 2076 additions and 1810 deletions

View File

@@ -346,7 +346,7 @@ impl<'a> Allocator<'a> for DebrayAllocator<'a>
self.temp_lb = arity + 1;
}
fn reset_arg_at_head(&mut self, term: &Term) {
fn reset_arg_at_head(&mut self, term: &'a Term) {
self.arg_c = 1;
self.temp_lb = term.arity() + 1;