feat(gc): WIP

This commit is contained in:
2025-06-02 12:00:38 +08:00
parent 20b2b6f1ef
commit d3442e87e7
7 changed files with 72 additions and 77 deletions

View File

@@ -79,7 +79,7 @@ impl<'gc> Func<'gc> {
.borrow_mut(mc)
.get_or_insert_with(|| vm.compile_func(self.func))
.clone();
let ret = unsafe { compiled.call(env.as_ref() as *const VmEnv, mc as *const _) };
let ret = unsafe { compiled(env.as_ref() as *const VmEnv, mc as *const _) };
Ok(ret.into())
}
}