xo-object2: streamline write barriers for DList,DArray muts

This commit is contained in:
Roland Conybeare 2026-05-01 20:38:38 -04:00
commit 4ab49af785
5 changed files with 5 additions and 26 deletions

View file

@ -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