| Index: src/ia32/lithium-ia32.cc
|
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc
|
| index 8435a3c2a1320b1e90ee0fe726f34cdad9a54f0f..187e376f736ad61950253d6399897b8c48f6d01b 100644
|
| --- a/src/ia32/lithium-ia32.cc
|
| +++ b/src/ia32/lithium-ia32.cc
|
| @@ -2002,12 +2002,11 @@ LInstruction* LChunkBuilder::DoLoadKeyedFastDoubleElement(
|
| LInstruction* LChunkBuilder::DoLoadKeyedSpecializedArrayElement(
|
| HLoadKeyedSpecializedArrayElement* instr) {
|
| ElementsKind elements_kind = instr->elements_kind();
|
| - Representation representation(instr->representation());
|
| ASSERT(
|
| - (representation.IsInteger32() &&
|
| + (instr->representation().IsInteger32() &&
|
| (elements_kind != EXTERNAL_FLOAT_ELEMENTS) &&
|
| (elements_kind != EXTERNAL_DOUBLE_ELEMENTS)) ||
|
| - (representation.IsDouble() &&
|
| + (instr->representation().IsDouble() &&
|
| ((elements_kind == EXTERNAL_FLOAT_ELEMENTS) ||
|
| (elements_kind == EXTERNAL_DOUBLE_ELEMENTS))));
|
| ASSERT(instr->key()->representation().IsInteger32());
|
| @@ -2070,13 +2069,12 @@ LInstruction* LChunkBuilder::DoStoreKeyedFastDoubleElement(
|
|
|
| LInstruction* LChunkBuilder::DoStoreKeyedSpecializedArrayElement(
|
| HStoreKeyedSpecializedArrayElement* instr) {
|
| - Representation representation(instr->value()->representation());
|
| ElementsKind elements_kind = instr->elements_kind();
|
| ASSERT(
|
| - (representation.IsInteger32() &&
|
| + (instr->value()->representation().IsInteger32() &&
|
| (elements_kind != EXTERNAL_FLOAT_ELEMENTS) &&
|
| (elements_kind != EXTERNAL_DOUBLE_ELEMENTS)) ||
|
| - (representation.IsDouble() &&
|
| + (instr->value()->representation().IsDouble() &&
|
| ((elements_kind == EXTERNAL_FLOAT_ELEMENTS) ||
|
| (elements_kind == EXTERNAL_DOUBLE_ELEMENTS))));
|
| ASSERT(instr->external_pointer()->representation().IsExternal());
|
|
|