Get the table at the actual index in the store
(&mut self, addr: TableAddr)
| 205 | |
| 206 | /// Get the table at the actual index in the store |
| 207 | pub(crate) fn get_table_mut(&mut self, addr: TableAddr) -> &mut TableInstance { |
| 208 | match self.tables.get_mut(addr as usize) { |
| 209 | Some(table) => table, |
| 210 | None => { |
| 211 | cold_path(); |
| 212 | unreachable!("table {addr} not found. This should be unreachable") |
| 213 | } |
| 214 | } |
| 215 | } |
| 216 | |
| 217 | /// Get two mutable tables at the actual index in the store |
| 218 | pub(crate) fn get_tables_mut( |
no outgoing calls
no test coverage detected