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

@ -0,0 +1,25 @@
/** @file DVsmRcx.cpp
*
* @author Roland Conybeare, Feb 2026
**/
#include "DVsmRcx.hpp"
#include "VirtualSchematikaMachine.hpp"
namespace xo {
using xo::mm::AAllocator;
namespace scm {
DVsmRcx::DVsmRcx(VirtualSchematikaMachine * vsm) : vsm_{vsm} {}
obj<AAllocator>
DVsmRcx::allocator() const noexcept
{
return vsm_->allocator();
}
} /*namespace scm*/
} /*namespace xo*/
/* end DVsmRcx.cpp */