(&mut self, table: JumpTable, index: u64)
| 252 | } |
| 253 | |
| 254 | fn resolve_jump_table_entry(&mut self, table: JumpTable, index: u64) -> BlockCall { |
| 255 | let jt_data = &self.ctx.func.dfg.jump_tables[table]; |
| 256 | let entries = jt_data.as_slice(); |
| 257 | if let Ok(index) = usize::try_from(index) |
| 258 | && index < entries.len() |
| 259 | { |
| 260 | entries[index] |
| 261 | } else { |
| 262 | jt_data.default_block() |
| 263 | } |
| 264 | } |
| 265 | |
| 266 | fn iconst_sextend_etor( |
| 267 | &mut self, |
nothing calls this directly
no test coverage detected