Go to the last instruction in `block`.
(&mut self, block: ir::Block)
| 280 | |
| 281 | /// Go to the last instruction in `block`. |
| 282 | fn goto_last_inst(&mut self, block: ir::Block) { |
| 283 | let inst = self.layout().last_inst(block).expect("Empty block"); |
| 284 | self.goto_inst(inst); |
| 285 | } |
| 286 | |
| 287 | /// Go to the top of `block` which must be inserted into the layout. |
| 288 | /// At this position, instructions cannot be inserted, but `next_inst()` will move to the first |