xo-interpreter: refactor for explicit gc::GC* dep
This commit is contained in:
parent
4d2cd54365
commit
52113737ac
24 changed files with 123 additions and 63 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue