xo-interpreter: refactor for explicit gc::GC* dep

This commit is contained in:
Roland Conybeare 2025-11-24 09:55:43 -05:00
commit 52113737ac
24 changed files with 123 additions and 63 deletions

View file

@ -90,10 +90,10 @@ namespace xo {
}
std::size_t
GlobalEnv::_forward_children()
GlobalEnv::_forward_children(gc::GC * gc)
{
for (auto & ix : *slot_map_) {
Object::_forward_inplace(ix.second);
Object::_forward_inplace(ix.second, gc);
}
return _shallow_size();
}