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:
parent
997d3d8264
commit
822af3a246
46 changed files with 124 additions and 142 deletions
|
|
@ -119,11 +119,12 @@ namespace xo {
|
|||
}
|
||||
|
||||
void
|
||||
DLocalSymtab::visit_gco_children(obj<AGCObjectVisitor> gc) noexcept
|
||||
DLocalSymtab::visit_gco_children(VisitReason reason,
|
||||
obj<AGCObjectVisitor> gc) noexcept
|
||||
{
|
||||
gc.visit_child(&parent_);
|
||||
gc.visit_child(&vars_);
|
||||
gc.visit_child(&types_);
|
||||
gc.visit_child(reason, &parent_);
|
||||
gc.visit_child(reason, &vars_);
|
||||
gc.visit_child(reason, &types_);
|
||||
}
|
||||
|
||||
// ----- printable facet -----
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue