(&self, store: &Store)
| 167 | |
| 168 | #[inline] |
| 169 | pub(crate) fn validate_store(&self, store: &Store) -> Result<()> { |
| 170 | if self.0.store_id != store.id() { |
| 171 | cold_path(); |
| 172 | return Err(Trap::InvalidStore.into()); |
| 173 | } |
| 174 | Ok(()) |
| 175 | } |
| 176 | |
| 177 | /// Get the module instance's address |
| 178 | pub fn id(&self) -> ModuleInstanceAddr { |
no test coverage detected