Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index 9c15d394c1fc6f947b2e13c157f50f123ad5aaf0..82a5ef5a7182a63d479916c600a75e78746a09e4 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -2184,7 +2184,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()); |
@@ -2204,10 +2204,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 |
@@ -2242,7 +2241,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; |