Go to the top of `block` which must be inserted into the layout. At this position, instructions cannot be inserted, but `next_inst()` will move to the first instruction in `block`.
(&mut self, block: ir::Block)
| 288 | /// At this position, instructions cannot be inserted, but `next_inst()` will move to the first |
| 289 | /// instruction in `block`. |
| 290 | fn goto_top(&mut self, block: ir::Block) { |
| 291 | debug_assert!(self.layout().is_block_inserted(block)); |
| 292 | self.set_position(CursorPosition::Before(block)); |
| 293 | } |
| 294 | |
| 295 | /// Go to the bottom of `block` which must be inserted into the layout. |
| 296 | /// At this position, inserted instructions will be appended to `block`. |