(
this: Location,
other: Location,
post_dominators: &PostDominators<BasicBlock>,
)
| 12 | mod tests; |
| 13 | |
| 14 | pub fn post_dominates( |
| 15 | this: Location, |
| 16 | other: Location, |
| 17 | post_dominators: &PostDominators<BasicBlock>, |
| 18 | ) -> bool { |
| 19 | if this.block == other.block { |
| 20 | other.statement_index <= this.statement_index |
| 21 | } else { |
| 22 | post_dominators.is_post_dominated_by(other.block, this.block) |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | pub trait WithEndNodes: DirectedGraph { |
| 27 | fn end_nodes(&self) -> Vec<Self::Node>; |
nothing calls this directly
no test coverage detected