Get the block that this builder is currently at.
(&self)
| 331 | |
| 332 | /// Get the block that this builder is currently at. |
| 333 | pub fn current_block(&self) -> Option<Block> { |
| 334 | self.position.expand() |
| 335 | } |
| 336 | |
| 337 | /// Set the source location that should be assigned to all new instructions. |
| 338 | pub fn set_srcloc(&mut self, srcloc: ir::SourceLoc) { |
no test coverage detected