| Index: src/ia32/lithium-ia32.cc
|
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc
|
| index eeccdd0502478b7d5f6eb9fba1b6b698330fab31..e00b43d6fb2f21490ac325c8cf3c7d8b9384471b 100644
|
| --- a/src/ia32/lithium-ia32.cc
|
| +++ b/src/ia32/lithium-ia32.cc
|
| @@ -2242,7 +2242,7 @@ LInstruction* LChunkBuilder::DoLoadKeyed(HLoadKeyed* instr) {
|
| : UseRegisterOrConstantAtStart(instr->key());
|
| LInstruction* result = NULL;
|
|
|
| - if (!instr->is_typed_elements()) {
|
| + if (!instr->is_fixed_typed_array()) {
|
| LOperand* obj = UseRegisterAtStart(instr->elements());
|
| result = DefineAsRegister(new(zone()) LLoadKeyed(obj, key));
|
| } else {
|
| @@ -2256,10 +2256,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
|
| @@ -2296,9 +2295,6 @@ LOperand* LChunkBuilder::GetStoreKeyedValueOperand(HStoreKeyed* instr) {
|
|
|
| // Determine if we need a byte register in this case for the value.
|
| bool val_is_fixed_register =
|
| - elements_kind == EXTERNAL_INT8_ELEMENTS ||
|
| - elements_kind == EXTERNAL_UINT8_ELEMENTS ||
|
| - elements_kind == EXTERNAL_UINT8_CLAMPED_ELEMENTS ||
|
| elements_kind == UINT8_ELEMENTS ||
|
| elements_kind == INT8_ELEMENTS ||
|
| elements_kind == UINT8_CLAMPED_ELEMENTS;
|
| @@ -2311,7 +2307,7 @@ LOperand* LChunkBuilder::GetStoreKeyedValueOperand(HStoreKeyed* instr) {
|
|
|
|
|
| LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) {
|
| - if (!instr->is_typed_elements()) {
|
| + if (!instr->is_fixed_typed_array()) {
|
| DCHECK(instr->elements()->representation().IsTagged());
|
| DCHECK(instr->key()->representation().IsInteger32() ||
|
| instr->key()->representation().IsSmi());
|
|
|