summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2016-01-19 14:07:47 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-01-19 14:07:47 +0000
commit17ccfff2de292fd2b4a78aef87d79b662381f920 (patch)
tree4a1bb8da95ff9b971f2ef9f3941b645bcaf211d3 /compiler/optimizing/nodes.h
parent31abc14132ad3895d2da9bed4520e96baeffaeb0 (diff)
parent09aa147f0891ef28a95d89e8ad61c429f82ddd5b (diff)
Merge "Disable DCE when there are irreducible loops."
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r--compiler/optimizing/nodes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h
index 859d570b29..e222ef7260 100644
--- a/compiler/optimizing/nodes.h
+++ b/compiler/optimizing/nodes.h
@@ -860,6 +860,8 @@ class HBasicBlock : public ArenaObject<kArenaAllocBasicBlock> {
HInstruction* GetLastPhi() const { return phis_.last_instruction_; }
const HInstructionList& GetPhis() const { return phis_; }
+ HInstruction* GetFirstInstructionDisregardMoves() const;
+
void AddSuccessor(HBasicBlock* block) {
successors_.push_back(block);
block->predecessors_.push_back(this);