Searched refs:funcrefs (Results 1 – 6 of 6) sorted by relevance
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/ |
| H A D | table.rs | 555 let (funcrefs, lazy_init) = self.funcrefs_mut(); in fill_func() 556 funcrefs[range].fill(MaybeTaggedFuncRef::from(val, lazy_init)); in fill_func() 777 let (funcrefs, lazy_init) = self.funcrefs(); in get_func_maybe_init() 778 Ok(funcrefs in get_func_maybe_init() 811 let (funcrefs, lazy_init) = self.funcrefs_mut(); in set_func() 812 *funcrefs.get_mut(index).ok_or(trap)? = MaybeTaggedFuncRef::from(elem, lazy_init); in set_func() 948 fn funcrefs(&self) -> (&[MaybeTaggedFuncRef], bool) { in funcrefs() method 1061 let (src_funcrefs, _lazy_init) = src_table.funcrefs(); in copy_elements() 1107 let (funcrefs, _lazy_init) = self.funcrefs_mut(); in copy_elements_within() 1108 funcrefs.copy_within(src_range, dst_range.start); in copy_elements_within()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | instance.rs | 229 let (funcrefs, modules) = store.func_refs_and_modules(); in typecheck_externs() 230 funcrefs.fill(modules); in typecheck_externs() 978 let (funcrefs, modules) = store.func_refs_and_modules(); in pre_instantiate_raw() 979 funcrefs.fill(modules); in pre_instantiate_raw() 986 funcrefs.reserve_storage(host_funcs)?; in pre_instantiate_raw() 992 funcrefs.push_instance_pre_definitions(items.clone())?; in pre_instantiate_raw() 993 funcrefs.push_instance_pre_func_refs(func_refs.clone())?; in pre_instantiate_raw()
|
| H A D | func.rs | 2665 let (funcrefs, modules) = store.func_refs_and_modules(); in to_func() 2666 let funcref = funcrefs.push_arc_host(self.clone(), modules)?; in to_func() 2730 let (funcrefs, modules) = store.func_refs_and_modules(); in into_func() 2731 let funcref = funcrefs.push_box_host(try_new::<Box<_>>(self)?, modules)?; in into_func()
|
| /wasmtime-44.0.1/tests/disas/ |
| H A D | typed-funcrefs-eager-init.wat | 5 ;; This test is meant to simulate how typed funcrefs in a table may be 10 ;; storing funcrefs for the first IC in each chain in a typed-funcref
|
| H A D | typed-funcrefs.wat | 5 ;; This test is meant to simulate how typed funcrefs in a table may be 10 ;; storing funcrefs for the first IC in each chain in a typed-funcref
|
| /wasmtime-44.0.1/tests/misc_testsuite/winch/ |
| H A D | ref-types-basic.wast | 34 ;; typed select between two funcrefs
|