summaryrefslogtreecommitdiff
path: root/compiler/optimizing/ssa_builder.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2014-06-09 08:00:05 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-06-09 08:00:05 +0000
commit7c2e21d9e39c6b6cf0c5bdff0101fc70c202c908 (patch)
tree8fbdd98f8f36c1e795a897bd200b9410f080b50d /compiler/optimizing/ssa_builder.cc
parent271512b4e8ff5269db65b164d90a000577046e07 (diff)
parentec7e4727e99aa1416398ac5a684f5024817a25c7 (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.cc4
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;
}