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
7a1b1b5cd3
commit
ec639ebb4b
276 changed files with 772 additions and 596 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