xo-interpreter2 stack: + reason arg to visit_gco_children()

Helps streamline DX1Collector in xo-gc/.
Want both forward and verify entry points for the same
representation.
This commit is contained in:
Roland Conybeare 2026-04-10 01:10:03 -04:00
commit 895e8d7a34
36 changed files with 99 additions and 92 deletions

View file

@ -48,10 +48,11 @@ namespace xo {
}
void
DVsmEvalArgsFrame::visit_gco_children(obj<AGCObjectVisitor> gc) noexcept
DVsmEvalArgsFrame::visit_gco_children(VisitReason reason,
obj<AGCObjectVisitor> gc) noexcept
{
gc.visit_child(&parent_);
gc.visit_child(&apply_expr_);
gc.visit_child(reason, &parent_);
gc.visit_child(reason, &apply_expr_);
}
bool