Create an instruction builder that inserts an instruction at the current position.
(&mut self)
| 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>> { |
| 642 | ir::InsertBuilder::new(self) |
| 643 | } |
| 644 | } |
| 645 | |
| 646 | impl<'f> Cursor for FuncCursor<'f> { |