refactor: merge GcRoot & Vm

This commit is contained in:
imxyy1soope1 committed 2026-04-19 13:07:49 +08:00
1 parent df9664f5c4
commit 74866ec1d3
2 files changed
+40 -43

No files matched your search

+1 -2
View File
@@ -87,8 +87,7 @@ impl Evaluator {
) -> Result<fix_common::Value> {
let root = self.downgrade(source, extra_scope)?;
let ip = fix_codegen::compile_bytecode(root.as_ref(), self);
let vm = Vm::new(self, ip, force_mode);
vm.run()
Vm::run(self, ip, force_mode)
}
pub fn add_binding(