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:
parent
d414d055b8
commit
912ae40550
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue