(&self, store: &mut StoreOpaque)
| 362 | } |
| 363 | |
| 364 | pub(crate) fn lifted_core_func(&self, store: &mut StoreOpaque) -> NonNull<VMFuncRef> { |
| 365 | let def = { |
| 366 | let instance = self.instance.id().get(store); |
| 367 | let (_ty, def, _options) = instance.component().export_lifted_function(self.index); |
| 368 | def.clone() |
| 369 | }; |
| 370 | match self.instance.lookup_vmdef(store, &def) { |
| 371 | Export::Function(f) => f.vm_func_ref(store), |
| 372 | _ => unreachable!(), |
| 373 | } |
| 374 | } |
| 375 | |
| 376 | pub(crate) fn post_return_core_func(&self, store: &StoreOpaque) -> Option<NonNull<VMFuncRef>> { |
| 377 | let instance = self.instance.id().get(store); |
no test coverage detected