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
bc248fec20
commit
4fdaa64085
28 changed files with 58 additions and 61 deletions
|
|
@ -185,12 +185,10 @@ namespace xo {
|
|||
}
|
||||
|
||||
void
|
||||
DList::visit_gco_children(obj<AGCObjectVisitor> gc) noexcept
|
||||
DList::visit_gco_children(VisitReason reason, obj<AGCObjectVisitor> gc) noexcept
|
||||
{
|
||||
//scope log(XO_DEBUG(true));
|
||||
|
||||
gc.visit_child(&head_);
|
||||
gc.visit_child(&rest_);
|
||||
gc.visit_child(reason, &head_);
|
||||
gc.visit_child(reason, &rest_);
|
||||
}
|
||||
} /*namespace scm*/
|
||||
} /*namespace xo*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue