Returns the list of `Block`s that have been declared as predecessors of the argument.
(&self, block: Block)
| 618 | |
| 619 | /// Returns the list of `Block`s that have been declared as predecessors of the argument. |
| 620 | fn predecessors(&self, block: Block) -> &[Inst] { |
| 621 | self.ssa_blocks[block] |
| 622 | .predecessors |
| 623 | .as_slice(&self.inst_pool) |
| 624 | } |
| 625 | |
| 626 | /// Returns whether the given Block has any predecessor or not. |
| 627 | pub fn has_any_predecessors(&self, block: Block) -> bool { |
no test coverage detected