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
|
|
@ -59,21 +59,10 @@ namespace xo {
|
|||
}
|
||||
|
||||
void
|
||||
DRuntimeError::visit_gco_children(obj<AGCObjectVisitor> gc) noexcept
|
||||
DRuntimeError::visit_gco_children(VisitReason reason, obj<AGCObjectVisitor> gc) noexcept
|
||||
{
|
||||
{
|
||||
gc.visit_child(&src_function_);
|
||||
|
||||
//auto iface = xo::facet::impl_for<AGCObject,DString>();
|
||||
//gc.forward_inplace(&iface, (void **)(&src_function_));
|
||||
}
|
||||
|
||||
{
|
||||
gc.visit_child(&error_descr_);
|
||||
|
||||
//auto iface = xo::facet::impl_for<AGCObject,DString>();
|
||||
//gc.forward_inplace(&iface, (void **)(&error_descr_));
|
||||
}
|
||||
gc.visit_child(reason, &src_function_);
|
||||
gc.visit_child(reason, &error_descr_);
|
||||
}
|
||||
|
||||
// ----- Printable facet -----
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue