diff options
| author | 2014-06-09 08:00:05 +0000 | |
|---|---|---|
| committer | 2014-06-09 08:00:05 +0000 | |
| commit | 7c2e21d9e39c6b6cf0c5bdff0101fc70c202c908 (patch) | |
| tree | 8fbdd98f8f36c1e795a897bd200b9410f080b50d /compiler/optimizing/ssa_builder.cc | |
| parent | 271512b4e8ff5269db65b164d90a000577046e07 (diff) | |
| parent | ec7e4727e99aa1416398ac5a684f5024817a25c7 (diff) | |
Merge "Fix some bugs in graph construction/simplification methods."
Diffstat (limited to 'compiler/optimizing/ssa_builder.cc')
| -rw-r--r-- | compiler/optimizing/ssa_builder.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/ssa_builder.cc b/compiler/optimizing/ssa_builder.cc index 1284a97cd1..54c3c5d88a 100644 --- a/compiler/optimizing/ssa_builder.cc +++ b/compiler/optimizing/ssa_builder.cc @@ -102,8 +102,8 @@ void SsaBuilder::VisitBasicBlock(HBasicBlock* block) { for (size_t i = 0, e = block->GetPredecessors().Size(); i < e; ++i) { HInstruction* current = ValueOfLocal(block->GetPredecessors().Get(i), local); if (current == nullptr) { -// one_predecessor_has_no_value = true; -// break; + one_predecessor_has_no_value = true; + break; } else if (current != value) { is_different = true; } |