(&mut self, jump_table: ir::JumpTable)
| 936 | } |
| 937 | |
| 938 | fn map_jump_table(&mut self, jump_table: ir::JumpTable) -> ir::JumpTable { |
| 939 | let inlined_default = |
| 940 | self.map_block_call(self.callee.dfg.jump_tables[jump_table].default_block()); |
| 941 | let inlined_table = self.callee.dfg.jump_tables[jump_table] |
| 942 | .as_slice() |
| 943 | .iter() |
| 944 | .map(|callee_block_call| self.map_block_call(*callee_block_call)) |
| 945 | .collect::<SmallBlockCallVec>(); |
| 946 | self.func |
| 947 | .dfg |
| 948 | .jump_tables |
| 949 | .push(ir::JumpTableData::new(inlined_default, &inlined_table)) |
| 950 | } |
| 951 | |
| 952 | fn map_exception_table(&mut self, exception_table: ir::ExceptionTable) -> ir::ExceptionTable { |
| 953 | let exception_table = &self.callee.dfg.exception_tables[exception_table]; |
nothing calls this directly
no test coverage detected