implement unify_ginteger to address FIXME in skip_max_list_cycle

This commit is contained in:
Mark Thom
2025-09-15 21:58:38 -07:00
parent 24f431e2ca
commit 72cdba82f5
5 changed files with 37 additions and 25 deletions

View File

@@ -278,6 +278,11 @@ impl MachineState {
unifier.unify_fixnum(n1, value);
}
pub fn unify_ginteger(&mut self, n1: GInteger, value: HeapCellValue) {
let mut unifier = DefaultUnifier::from(self);
unifier.unify_ginteger(n1, value);
}
pub fn unify_big_int(&mut self, n1: TypedArenaPtr<Integer>, value: HeapCellValue) {
let mut unifier = DefaultUnifier::from(self);
unifier.unify_big_integer(n1, value);