summaryrefslogtreecommitdiff
path: root/compiler/optimizing/ssa_builder.cc
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2016-01-20 18:15:38 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-01-20 18:15:38 +0000
commit1f39dd3333587eee47ca6c22ba06107ff6cc9129 (patch)
treec9cf8e8ed85ebe47017e28e51af882ec382311fb /compiler/optimizing/ssa_builder.cc
parenta8108303b31f76b7cd0292942885585d0f9d9391 (diff)
parentc047d94f02334b419ce532c3bf7da3e91e69dae1 (diff)
Merge "ART: DCHECK still too strong for String NewInstance"
Diffstat (limited to 'compiler/optimizing/ssa_builder.cc')
-rw-r--r--compiler/optimizing/ssa_builder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/ssa_builder.cc b/compiler/optimizing/ssa_builder.cc
index c8244aa800..165d09d1a5 100644
--- a/compiler/optimizing/ssa_builder.cc
+++ b/compiler/optimizing/ssa_builder.cc
@@ -934,7 +934,7 @@ void SsaBuilder::VisitInvokeStaticOrDirect(HInvokeStaticOrDirect* invoke) {
if (arg_this->IsNewInstance()) {
uninitialized_strings_.push_back(arg_this->AsNewInstance());
} else {
- DCHECK(arg_this->IsIrreducibleLoopHeaderPhi());
+ DCHECK(arg_this->IsPhi());
// NewInstance is not the direct input of the StringFactory call. It might
// be redundant but optimizing this case is not worth the effort.
}