diff options
author | 2014-09-25 12:41:09 +0000 | |
---|---|---|
committer | 2014-09-25 12:41:10 +0000 | |
commit | 034168039d28c84ae4cba60d306a8bc7b396d409 (patch) | |
tree | cc224ad4deab8d7259f3273f26ecfc3bb3e049cc /compiler/optimizing/nodes.h | |
parent | f2476d524281c6d649f5deb6d1ccccc92380c1ed (diff) | |
parent | 6b46923ff0197c95f1e7ea0bc730961df6725cc9 (diff) |
Merge "Optimizing compiler: check inputs & uses definitions in CFG."
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r-- | compiler/optimizing/nodes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index be6b355d22..5e2dec1623 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -57,6 +57,9 @@ class HInstructionList { void AddInstruction(HInstruction* instruction); void RemoveInstruction(HInstruction* instruction); + // Return true if this list contains `instruction`. + bool Contains(HInstruction* instruction) const; + // Return true if `instruction1` is found before `instruction2` in // this instruction list and false otherwise. Abort if none // of these instructions is found. |