summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.h
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2014-10-20 09:37:45 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-10-20 09:37:46 +0000
commit1e642b5e5b2958ffc1653f5f42f2d091bbd8549e (patch)
treedb47f70ec77ed5389a69c62cf88f9f4e4e5590f5 /compiler/optimizing/nodes.h
parent570d5dd11b4dbf003e628d3f1890649a02365c02 (diff)
parent6c82d40eb142771086f5531998de2273ba5cc08c (diff)
Merge "Have HInstruction::StrictlyDominates compute strict dominance."
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r--compiler/optimizing/nodes.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h
index ec26c4a4dc..7bb71b6012 100644
--- a/compiler/optimizing/nodes.h
+++ b/compiler/optimizing/nodes.h
@@ -684,9 +684,10 @@ class HInstruction : public ArenaObject {
return result;
}
- // Does this instruction dominate `other_instruction`? Aborts if
- // this instruction and `other_instruction` are both phis.
- bool Dominates(HInstruction* other_instruction) const;
+ // Does this instruction strictly dominate `other_instruction`?
+ // Returns false if this instruction and `other_instruction` are the same.
+ // Aborts if this instruction and `other_instruction` are both phis.
+ bool StrictlyDominates(HInstruction* other_instruction) const;
int GetId() const { return id_; }
void SetId(int id) { id_ = id; }