refactor focusing on xo-alloc2/ xo-gc/ write-barrier

ability to inform allocator of gco->gco mutation, via AAllocator i/face.
This commit is contained in:
Roland Conybeare 2026-05-01 19:54:26 -04:00
commit ca79d06be4
3 changed files with 17 additions and 16 deletions

View file

@ -70,8 +70,8 @@ namespace xo {
DVariable * var = DVariable::make(mm, name, typeref, binding);
auto gc = mm.try_to_facet<ACollector>();
vars_->push_back(gc, obj<AGCObject,DVariable>(var));
//auto gc = mm.try_to_facet<ACollector>();
vars_->push_back(mm, obj<AGCObject,DVariable>(var));
return binding;
}
@ -89,8 +89,8 @@ namespace xo {
} else {
obj<AGCObject> tname = DTypename::make(mm, name, type);
auto gc = mm.try_to_facet<ACollector>();
types_->push_back(gc, tname);
//auto gc = mm.try_to_facet<ACollector>();
types_->push_back(mm, tname);
}
}