self.block
}
- #[inline]
- pub(super)
- fn set_p(&mut self) {
- if self.last_call {
- self.p = CodePtr::Local(self.cp);
- } else {
- self.p += 1;
- }
- }
-
fn copy_findall_solution(&mut self, lh_offset: usize, copy_target: Addr) -> usize
{
let threshold = self.lifted_heap.len() - lh_offset;
if let Some(r) = dest.as_var() {
self.bind(r, addr.clone());
- self.set_p();
-
- return Ok(());
+ return return_from_clause!(self.last_call, self);
}
} else {
sgc_policy.push_cont_pt(addr, b_cutoff, prev_b);
}
};
- Ok(self.set_p())
+ return_from_clause!(self.last_call, self)
}
}