xo-interpreter2 stack: + dict.make() + Dictionary impl

This commit is contained in:
Roland Conybeare 2026-03-03 16:45:54 +11:00
commit 7871c7dbea
16 changed files with 904 additions and 23 deletions

View file

@ -67,6 +67,19 @@ namespace xo {
}
}
bool
DArray::assign_at(size_type ix, obj<AGCObject> x) noexcept
{
if (ix >= size_)
return false;
scope log(XO_DEBUG(true), "need write barrier");
this->elts_[ix] = x;
return true;
}
bool
DArray::push_back(obj<AGCObject> elt) noexcept
{