refactor(furvm): refactor executor

Refs: #12
This commit is contained in:
2026-06-16 14:45:36 +02:00
parent 78acfb6ee2
commit 0dfa8c1c02
4 changed files with 15 additions and 46 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ int main(void) {
std::ofstream file("./test.furm", std::ios::binary);
furvm::serializer::serialize_module(file, mainModule);
auto executor = furvm::executor::create(context);
auto executor = context->emplace_executor(context);
executor->push_frame(mainModule, 0);
static constexpr std::size_t FPC = 3; // Frames per collection