Consistently use dominates instead of is_dominated_by
There is a number of APIs that answer dominance queries. Previously they were named either "dominates" or "is_dominated_by". Consistently use the "dominates" form. No functional changes.
This commit is contained in:
parent
b22aa57fd5
commit
955e7fbb16
5 changed files with 18 additions and 18 deletions
|
@ -3049,7 +3049,7 @@ impl Location {
|
|||
if self.block == other.block {
|
||||
self.statement_index <= other.statement_index
|
||||
} else {
|
||||
dominators.is_dominated_by(other.block, self.block)
|
||||
dominators.dominates(self.block, other.block)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue