Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index 4015bffba3fc6dd9a37506ea09a8d9444d73914e..4a6a1fdc437d538fe7ff204808403b7b8c7d7bce 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -1829,12 +1829,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() || |
@@ -1897,13 +1896,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()); |