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:
parent
aedb1a1648
commit
ca79d06be4
3 changed files with 17 additions and 16 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue