xo-interpreter2 stack: VSM as AGCObject for virtual root

This commit is contained in:
Roland Conybeare 2026-03-25 19:31:59 -04:00
commit 45f6bccd9c
18 changed files with 687 additions and 413 deletions

View file

@ -185,7 +185,11 @@ namespace xo {
std::size_t
DArray::forward_children(obj<ACollector> gc) noexcept
{
scope log(XO_DEBUG(true));
for (size_type i = 0; i < size_; ++i) {
log && log("DArray::forward_children (loop)", xtag("i", i), xtag("z", size_));
obj<AGCObject> & elt = elts_[i];
gc.forward_inplace(&elt);