Use the source location of `inst` for future instructions.
(&mut self, inst: ir::Inst)
| 634 | |
| 635 | /// Use the source location of `inst` for future instructions. |
| 636 | pub fn use_srcloc(&mut self, inst: ir::Inst) { |
| 637 | self.srcloc = self.func.srcloc(inst); |
| 638 | } |
| 639 | |
| 640 | /// Create an instruction builder that inserts an instruction at the current position. |
| 641 | pub fn ins(&mut self) -> ir::InsertBuilder<'_, &mut FuncCursor<'f>> { |
no test coverage detected