xo-object2: streamline write barriers for DList,DArray muts
This commit is contained in:
parent
0defad229f
commit
4ab49af785
5 changed files with 5 additions and 26 deletions
|
|
@ -141,20 +141,15 @@ namespace xo {
|
|||
}
|
||||
|
||||
void
|
||||
DList::_assign_rest(DList * rest)
|
||||
DList::_assign_rest(obj<AAllocator> mm, DList * rest)
|
||||
{
|
||||
scope log(XO_DEBUG(true), "need write barrier");
|
||||
|
||||
#ifdef NOT_YET
|
||||
obj<AGCObject,DList> rest_gco(rest);
|
||||
|
||||
mm.barrier_assign_aux(this,
|
||||
nullptr /*lhs iface unused*/,
|
||||
&(this->rest_),
|
||||
(void**)&(this->rest_),
|
||||
rest_gco.iface(),
|
||||
rest);
|
||||
#endif
|
||||
this->rest_ = rest;
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue