(&mut self, instance: ModuleInstance)
| 307 | } |
| 308 | |
| 309 | pub(crate) fn add_instance(&mut self, instance: ModuleInstance) { |
| 310 | debug_assert!(instance.idx() == self.module_instances.len() as ModuleInstanceAddr); |
| 311 | self.module_instances.push(instance); |
| 312 | } |
| 313 | |
| 314 | /// Get the global at the actual index in the store |
| 315 | #[doc(hidden)] |
no test coverage detected