Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index e063ef113265ff9efc6293d5c0a35dff2863cde3..660d3272d4d33d1d89291ac974ff0ad3ffe28490 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -1917,12 +1917,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()); |
@@ -1982,13 +1981,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()); |