implement __functor

This commit is contained in:
2026-05-04 18:24:33 +08:00
parent 62d65b2e5f
commit 4aff27142c
7 changed files with 79 additions and 8 deletions
+2 -1
View File
@@ -3,7 +3,7 @@ use gc_arena::Mutation;
use crate::bytecode_reader::BytecodeReader;
use crate::value::*;
use crate::{Step, Vm};
use crate::{Step, Vm, VmRuntimeCtx};
impl<'gc> Vm<'gc> {
pub(crate) fn primop_filter_force_list(
@@ -44,6 +44,7 @@ impl<'gc> Vm<'gc> {
pub(crate) fn primop_filter_check(
&mut self,
ctx: &mut impl VmRuntimeCtx,
reader: &mut BytecodeReader<'_>,
mc: &Mutation<'gc>,
) -> Step {