refactor: + narrower interface for gc pointer forwarding

add AGCObjectVisitor, instead of requiring ACollector.
This commit is contained in:
Roland Conybeare 2026-04-05 23:53:02 -04:00
commit d740c94406
105 changed files with 260 additions and 416 deletions

View file

@ -1244,10 +1244,10 @@ case optype::op_assign:
}
void
DProgressSsm::forward_children(obj<ACollector> gc) noexcept
DProgressSsm::visit_gco_children(obj<AGCObjectVisitor> gc) noexcept
{
gc.forward_pivot_inplace(&lhs_);
gc.forward_pivot_inplace(&rhs_);
gc.visit_poly_child(&lhs_);
gc.visit_poly_child(&rhs_);
}
} /*namespace scm*/