xo-interpreter2 stack: use RuntimeContext to streamline setup

This commit is contained in:
Roland Conybeare 2026-03-16 14:09:03 -05:00
commit dc43feece0
2 changed files with 7 additions and 4 deletions

View file

@ -51,10 +51,12 @@ namespace xo {
}
bool
numeric_register_primitives(obj<AAllocator> mm, StringTable * stbl,
numeric_register_primitives(obj<ARuntimeContext> rcx,
//obj<AAllocator> mm, StringTable * stbl,
InstallSink sink, InstallFlags flags)
{
(void)stbl;
obj<AAllocator> mm = rcx.allocator();
StringTable * stbl = rcx.stringtable();
scope log(XO_DEBUG(true));