xo-interpreter2 stack: + RuntimeContext.visit_pools() method

This commit is contained in:
Roland Conybeare 2026-02-28 13:26:10 +11:00
commit 038a931fa5
4 changed files with 19 additions and 2 deletions

View file

@ -25,6 +25,12 @@ namespace xo {
return vsm_->error_allocator();
}
void
DVsmRcx::visit_pools(const MemorySizeVisitor & visitor) const
{
vsm_->visit_pools(visitor);
}
} /*namespace scm*/
} /*namespace xo*/

View file

@ -21,6 +21,12 @@ namespace xo {
return self.allocator();
}
auto
IRuntimeContext_DVsmRcx::visit_pools(const DVsmRcx & self, MemorySizeVisitor visitor) -> void
{
self.visit_pools(visitor);
}
} /*namespace scm*/
} /*namespace xo*/