Returns an array, indexed by `ModuleInternedTypeIndex` of all `VMSharedSignatureIndex` entries corresponding to the `SignatureIndex`.
(&self)
| 374 | /// Returns an array, indexed by `ModuleInternedTypeIndex` of all |
| 375 | /// `VMSharedSignatureIndex` entries corresponding to the `SignatureIndex`. |
| 376 | fn type_ids(&self) -> &[VMSharedTypeIndex] { |
| 377 | match self { |
| 378 | ModuleRuntimeInfo::Module(m) => m |
| 379 | .engine_code() |
| 380 | .signatures() |
| 381 | .as_module_map() |
| 382 | .values() |
| 383 | .as_slice(), |
| 384 | ModuleRuntimeInfo::Bare(_) => &[], |
| 385 | } |
| 386 | } |
| 387 | |
| 388 | /// Offset information for the current host. |
| 389 | pub(crate) fn offsets(&self) -> &VMOffsets<HostPtr> { |
no test coverage detected