diff options
Diffstat (limited to 'compiler/optimizing/bounds_check_elimination.cc')
-rw-r--r-- | compiler/optimizing/bounds_check_elimination.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/bounds_check_elimination.cc b/compiler/optimizing/bounds_check_elimination.cc index 52f1e9a934..210f978cc2 100644 --- a/compiler/optimizing/bounds_check_elimination.cc +++ b/compiler/optimizing/bounds_check_elimination.cc @@ -2011,7 +2011,7 @@ class BCEVisitor : public HGraphVisitor { phi->SetRawInputAt(0, instruction); phi->SetRawInputAt(1, zero); if (type == DataType::Type::kReference) { - phi->SetReferenceTypeInfo(instruction->GetReferenceTypeInfo()); + phi->SetReferenceTypeInfoIfValid(instruction->GetReferenceTypeInfo()); } new_preheader->AddPhi(phi); return phi; |