Fetch the instruction preceding `inst`.
(&self, inst: Inst)
| 467 | |
| 468 | /// Fetch the instruction preceding `inst`. |
| 469 | pub fn prev_inst(&self, inst: Inst) -> Option<Inst> { |
| 470 | self.insts[inst].prev.expand() |
| 471 | } |
| 472 | |
| 473 | /// Insert `inst` before the instruction `before` in the same block. |
| 474 | pub fn insert_inst(&mut self, inst: Inst, before: Inst) { |