xo-object2: prep DList for write barrier in _assign_rest()
This commit is contained in:
parent
6c8da340c8
commit
3f7bc2e8e0
1 changed files with 11 additions and 2 deletions
|
|
@ -141,11 +141,20 @@ namespace xo {
|
|||
}
|
||||
|
||||
void
|
||||
DList::_assign_rest(DList * r)
|
||||
DList::_assign_rest(DList * rest)
|
||||
{
|
||||
scope log(XO_DEBUG(true), "need write barrier");
|
||||
|
||||
this->rest_ = r;
|
||||
#ifdef NOT_YET
|
||||
obj<AGCObject,DList> rest_gco(rest);
|
||||
|
||||
mm.barrier_assign_aux(this,
|
||||
nullptr /*lhs iface unused*/,
|
||||
&(this->rest_),
|
||||
rest_gco.iface(),
|
||||
rest);
|
||||
#endif
|
||||
this->rest_ = rest;
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue