Create a `ReplaceBuilder` that will replace `inst` with a new instruction in place. `inst` must be present in the function's layout.
(&mut self, inst: Inst)
| 227 | /// |
| 228 | /// `inst` must be present in the function's layout. |
| 229 | pub fn replace(&mut self, inst: Inst) -> ReplaceBuilder<'_> { |
| 230 | ReplaceBuilder::new(&mut self.dfg, &mut self.layout, inst) |
| 231 | } |
| 232 | |
| 233 | /// Creates a jump table in the function, to be used by `br_table` instructions. |
| 234 | pub fn create_jump_table(&mut self, data: JumpTableData) -> JumpTable { |