(
&self,
store: &'a StoreOpaque,
)
| 389 | } |
| 390 | |
| 391 | pub(crate) fn abi_info<'a>( |
| 392 | &self, |
| 393 | store: &'a StoreOpaque, |
| 394 | ) -> ( |
| 395 | OptionsIndex, |
| 396 | InstanceFlags, |
| 397 | TypeFuncIndex, |
| 398 | &'a CanonicalOptions, |
| 399 | ) { |
| 400 | let vminstance = self.instance.id().get(store); |
| 401 | let component = vminstance.component(); |
| 402 | let (ty, _def, options_index) = component.export_lifted_function(self.index); |
| 403 | let raw_options = &component.env_component().options[options_index]; |
| 404 | ( |
| 405 | options_index, |
| 406 | vminstance.instance_flags(raw_options.instance), |
| 407 | ty, |
| 408 | raw_options, |
| 409 | ) |
| 410 | } |
| 411 | |
| 412 | /// Invokes the underlying wasm function, lowering arguments and lifting the |
| 413 | /// result. |
no test coverage detected