OSDN Git Service

MIPS64: Removal of unnecessary null check
authorTijana Jakovljevic <tijana.jakovljevic@imgtec.com>
Tue, 7 Mar 2017 08:43:31 +0000 (09:43 +0100)
committerTijana Jakovljevic <tijana.jakovljevic@imgtec.com>
Tue, 7 Mar 2017 09:28:09 +0000 (10:28 +0100)
Unintentionally left in https://android-review.googlesource.com/#/c/321427/.

Test: booted MIPS64 in QEMU
Change-Id: Idf9c7301f1881ca4cd427a3ef4beffae6022f339

compiler/optimizing/code_generator_mips64.cc

index d3f3598..138ebe6 100644 (file)
@@ -1659,10 +1659,6 @@ void InstructionCodeGeneratorMIPS64::VisitArrayGet(HArrayGet* instruction) {
       UNREACHABLE();
   }
 
-  if (!maybe_compressed_char_at) {
-    codegen_->MaybeRecordImplicitNullCheck(instruction);
-  }
-
   if (type == Primitive::kPrimNot) {
     GpuRegister out = locations->Out().AsRegister<GpuRegister>();
     __ MaybeUnpoisonHeapReference(out);