diff options
author | 2016-01-19 10:52:54 +0000 | |
---|---|---|
committer | 2016-01-19 13:24:07 +0000 | |
commit | 09aa147f0891ef28a95d89e8ad61c429f82ddd5b (patch) | |
tree | dbf7ee48d5aa06dc4ba1ca88702e5e667e17a9db /compiler/optimizing/nodes.h | |
parent | a65ff5e0576ace8ffeb1a6dc8784a61cd2498fba (diff) |
Disable DCE when there are irreducible loops.
Also ensure an instruction that requires an environment
does have one.
Change-Id: I41a8460e05ef320f872197d3be7847e7ffaa6ee8
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r-- | compiler/optimizing/nodes.h | 2 |
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); |