save arguments to delayed goal before calling verify_attrs (#1304)

This commit is contained in:
Mark Thom
2022-03-01 23:59:33 -07:00
parent bf85cd404c
commit a38f7c8524
3 changed files with 11 additions and 11 deletions

View File

@@ -511,11 +511,9 @@ impl Machine {
}
#[inline(always)]
pub(crate) fn run_verify_attr_interrupt(&mut self) { //, cp: usize) {
pub(crate) fn run_verify_attr_interrupt(&mut self, arity: usize) {
let p = self.machine_st.attr_var_init.verify_attrs_loc;
// self.machine_st.attr_var_init.cp = cp;
self.machine_st.verify_attr_interrupt(p);
self.machine_st.verify_attr_interrupt(p, arity);
}
#[inline(always)]