refactor: + narrower interface for gc pointer forwarding

add AGCObjectVisitor, instead of requiring ACollector.
This commit is contained in:
Roland Conybeare 2026-04-05 23:53:02 -04:00
commit 90ab86f69c
9 changed files with 115 additions and 13 deletions

View file

@ -42,7 +42,7 @@ IGCObject_Any::shallow_move(Opaque, obj<ACollector>) const noexcept -> Opaque
}
auto
IGCObject_Any::forward_children(Opaque, obj<ACollector>) const noexcept -> void
IGCObject_Any::visit_gco_children(Opaque, obj<AGCObjectVisitor>) const noexcept -> void
{
_fatal();
}