xo-interpreter2 .. xo-arena. memory pool introspection

This commit is contained in:
Roland Conybeare 2026-02-03 01:05:36 -05:00
commit bfc7a1d379
3 changed files with 19 additions and 16 deletions

View file

@ -30,20 +30,11 @@ namespace xo {
reader_{config.rdr_config_, mm_.to_op()}
{}
std::size_t
VirtualSchematikaMachine::_n_store() const noexcept
void
VirtualSchematikaMachine::visit_pools(const MemorySizeVisitor & visitor) const
{
// oops. need something that goes through AAllocator api
return reader_._n_store();
}
MemorySizeInfo
VirtualSchematikaMachine::_store_info(std::size_t i) const noexcept
{
// oops. need something poly that goes through AAllocator api
return reader_._store_info(i);
mm_.visit_pools(visitor);
reader_.visit_pools(visitor);
}
void