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 b780d1da4c
17 changed files with 149 additions and 18 deletions

View file

@ -75,6 +75,11 @@ namespace xo {
/** allocate copy of @p src in arena @p d. **/
static value_type alloc_copy(DArena & d, value_type src);
static void clear(DArena &);
/** perform assignment {*lhs_iface, *lhs_data} = {*rhs_iface, rhs_data} **/
static void barrier_assign_aux(DArena &,
void * parent,
AGCObject * lhs_iface, void ** lhs_data,
AGCObject * rhs_iface, void * rhs_data);
static void destruct_data(DArena &);
};