refactor: merge GcRoot & Vm

This commit is contained in:
2026-04-19 13:07:07 +08:00
parent df9664f5c4
commit 74866ec1d3
2 changed files with 40 additions and 43 deletions
+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(