xo-gc: bugfixes for GCObjectStore, unit test exapnded

In particular: drop casual assignment to DList.rest_,
will break acyclic assumption of DList.size()
This commit is contained in:
Roland Conybeare 2026-04-11 16:51:52 -04:00
commit 912ae40550
2 changed files with 3 additions and 3 deletions

View file

@ -65,8 +65,8 @@ namespace xo {
/** assign head **/
void assign_head(obj<ACollector> gc, obj<AGCObject> h);
/** assign rest-pointer **/
void assign_rest(DList * r);
/** assign rest-pointer. Caller responsible for preserving acyclic property! **/
void _assign_rest(DList * r);
/** pretty-printing driver; combine layout+printing **/
bool pretty(const ppindentinfo & ppii) const;