Lines Matching refs:FuncRef
50 FuncRef(Option<Func>), enumerator
107 Val::FuncRef(None) in null_func_ref()
130 WasmHeapTopType::Func => Val::FuncRef(None), in null_top()
184 Val::FuncRef(None) => ValType::NULLFUNCREF, in load_ty()
185 Val::FuncRef(Some(f)) => ValType::Ref(RefType::new( in load_ty()
223 (Val::FuncRef(f), ValType::Ref(ref_ty)) => Ref::from(*f)._matches_ty(store, ref_ty)?, in _matches_ty()
235 | (Val::FuncRef(_), _) in _matches_ty()
287 Val::FuncRef(f) => Ok(ValRaw::funcref(match f { in to_raw()
377 (FuncRef(Option<&Func>) func_ref unwrap_func_ref e.as_ref())
387 Val::FuncRef(f) => Some(Ref::Func(f)), in ref_()
499 Val::FuncRef(None) => Some(None), in funcref()
500 Val::FuncRef(Some(f)) => Some(Some(f)), in funcref()
523 Val::FuncRef(Some(f)) => f.comes_from_same_store(store), in comes_from_same_store()
524 Val::FuncRef(None) => true, in comes_from_same_store()
579 Ref::Func(f) => Val::FuncRef(f), in from()
659 Val::FuncRef(Some(val)) in from()
666 Val::FuncRef(val) in from()
1207 let _ = Val::FuncRef(Some(f)).matches_ty( in val_matches_ty_wrong_engine()