Return an iterator over all blocks in layout order.
(&self)
| 325 | |
| 326 | /// Return an iterator over all blocks in layout order. |
| 327 | pub fn blocks(&self) -> Blocks<'_> { |
| 328 | Blocks { |
| 329 | layout: self, |
| 330 | next: self.first_block, |
| 331 | } |
| 332 | } |
| 333 | |
| 334 | /// Get the function's entry block. |
| 335 | /// This is simply the first block in the layout order. |
no outgoing calls