refactor(furvm): expose context thing allocator

Refs: #12
This commit is contained in:
2026-06-19 14:15:05 +02:00
parent f14f3854e2
commit 5a1b7c5aa6
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ void executor::step() {
switch (instr) {
case instruction_t::NoOperation: break;
case instruction_t::PushB2I: {
push_thing({ thing_t::Int32, m_context->m_thingAllocator })->int32() = frame.mod->byte(frame.position++);
push_thing({ thing_t::Int32, m_context->thing_alloc() })->int32() = frame.mod->byte(frame.position++);
} break;
case instruction_t::Drop: {
pop_thing();