Index: src/mips64/lithium-mips64.cc |
diff --git a/src/mips64/lithium-mips64.cc b/src/mips64/lithium-mips64.cc |
index f6a0f8d6bdf2e04abea87f25961e5069e920d4b7..1a7cf71d17ea0b4640e1b8661818e6f384648b98 100644 |
--- a/src/mips64/lithium-mips64.cc |
+++ b/src/mips64/lithium-mips64.cc |
@@ -2187,7 +2187,7 @@ LInstruction* LChunkBuilder::DoLoadKeyed(HLoadKeyed* instr) { |
LOperand* key = UseRegisterOrConstantAtStart(instr->key()); |
LInstruction* result = NULL; |
- if (!instr->is_typed_elements()) { |
+ if (!instr->is_fixed_typed_array()) { |
LOperand* obj = NULL; |
if (instr->representation().IsDouble()) { |
obj = UseRegister(instr->elements()); |
@@ -2208,10 +2208,9 @@ LInstruction* LChunkBuilder::DoLoadKeyed(HLoadKeyed* instr) { |
} |
bool needs_environment; |
- if (instr->is_external() || instr->is_fixed_typed_array()) { |
+ if (instr->is_fixed_typed_array()) { |
// see LCodeGen::DoLoadKeyedExternalArray |
- needs_environment = (elements_kind == EXTERNAL_UINT32_ELEMENTS || |
- elements_kind == UINT32_ELEMENTS) && |
+ needs_environment = elements_kind == UINT32_ELEMENTS && |
!instr->CheckFlag(HInstruction::kUint32); |
} else { |
// see LCodeGen::DoLoadKeyedFixedDoubleArray and |
@@ -2246,7 +2245,7 @@ LInstruction* LChunkBuilder::DoLoadKeyedGeneric(HLoadKeyedGeneric* instr) { |
LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) { |
- if (!instr->is_typed_elements()) { |
+ if (!instr->is_fixed_typed_array()) { |
DCHECK(instr->elements()->representation().IsTagged()); |
bool needs_write_barrier = instr->NeedsWriteBarrier(); |
LOperand* object = NULL; |