diff options
author | 2014-10-20 09:37:45 +0000 | |
---|---|---|
committer | 2014-10-20 09:37:46 +0000 | |
commit | 1e642b5e5b2958ffc1653f5f42f2d091bbd8549e (patch) | |
tree | db47f70ec77ed5389a69c62cf88f9f4e4e5590f5 /compiler/optimizing/graph_checker.cc | |
parent | 570d5dd11b4dbf003e628d3f1890649a02365c02 (diff) | |
parent | 6c82d40eb142771086f5531998de2273ba5cc08c (diff) |
Merge "Have HInstruction::StrictlyDominates compute strict dominance."
Diffstat (limited to 'compiler/optimizing/graph_checker.cc')
-rw-r--r-- | compiler/optimizing/graph_checker.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/graph_checker.cc b/compiler/optimizing/graph_checker.cc index 9f4029785a..743ffc46bf 100644 --- a/compiler/optimizing/graph_checker.cc +++ b/compiler/optimizing/graph_checker.cc @@ -268,7 +268,7 @@ void SSAChecker::VisitInstruction(HInstruction* instruction) { for (HUseIterator<HInstruction> use_it(instruction->GetUses()); !use_it.Done(); use_it.Advance()) { HInstruction* use = use_it.Current()->GetUser(); - if (!use->IsPhi() && !instruction->Dominates(use)) { + if (!use->IsPhi() && !instruction->StrictlyDominates(use)) { std::stringstream error; error << "Instruction " << instruction->GetId() << " in block " << current_block_->GetBlockId() @@ -285,7 +285,7 @@ void SSAChecker::VisitInstruction(HInstruction* instruction) { for (size_t i = 0, e = environment->Size(); i < e; ++i) { HInstruction* env_instruction = environment->GetInstructionAt(i); if (env_instruction != nullptr - && !env_instruction->Dominates(instruction)) { + && !env_instruction->StrictlyDominates(instruction)) { std::stringstream error; error << "Instruction " << env_instruction->GetId() << " in environment of instruction " << instruction->GetId() |