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
31df51ac8e
commit
d14f119a37
102 changed files with 258 additions and 167 deletions
|
|
@ -471,15 +471,16 @@ namespace xo {
|
|||
}
|
||||
|
||||
void
|
||||
DLambdaSsm::visit_gco_children(obj<AGCObjectVisitor> gc) noexcept
|
||||
DLambdaSsm::visit_gco_children(VisitReason reason,
|
||||
obj<AGCObjectVisitor> gc) noexcept
|
||||
{
|
||||
gc.visit_child(&local_symtab_);
|
||||
gc.visit_child(reason, &local_symtab_);
|
||||
|
||||
// explicit_return_td not gcobject
|
||||
// lambda_td not gcobject
|
||||
|
||||
gc.visit_poly_child(&body_);
|
||||
gc.visit_poly_child(&parent_symtab_);
|
||||
gc.visit_poly_child(reason, &body_);
|
||||
gc.visit_poly_child(reason, &parent_symtab_);
|
||||
}
|
||||
|
||||
} /*namespace scm*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue