xo-interpreter2: + DVsmRcx. runtime context for vsm

This commit is contained in:
Roland Conybeare 2026-02-12 16:05:22 -05:00
commit 5e1eef3fc7
6 changed files with 113 additions and 4 deletions

View file

@ -24,6 +24,7 @@ namespace xo {
using xo::print::ppstate_standalone;
using xo::mm::AGCObject;
//using xo::mm::MemorySizeInfo; // not used yet
using xo::mm::AAllocator;
using xo::mm::DX1Collector;
using xo::facet::FacetRegistry;
using std::cout;
@ -42,6 +43,12 @@ namespace xo {
// TODO: allocate global_env
}
obj<AAllocator>
VirtualSchematikaMachine::allocator() const noexcept
{
return mm_.to_op();
}
void
VirtualSchematikaMachine::visit_pools(const MemorySizeVisitor & visitor) const
{