refactor: + narrower interface for gc pointer forwarding
add AGCObjectVisitor, instead of requiring ACollector.
This commit is contained in:
parent
57688a826a
commit
801bb9e39d
266 changed files with 952 additions and 947 deletions
|
|
@ -692,9 +692,9 @@ namespace xo {
|
|||
// ----- gc support -----
|
||||
|
||||
void
|
||||
DDefineSsm::forward_children(obj<ACollector> gc)
|
||||
DDefineSsm::visit_gco_children(obj<AGCObjectVisitor> gc) noexcept
|
||||
{
|
||||
gc.forward_inplace(&def_expr_.data_);
|
||||
gc.visit_child(&def_expr_.data_);
|
||||
}
|
||||
} /*namespace scm*/
|
||||
} /*namespace xo*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue