Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index fee2f4f2ab98bbfd2351e821a920e3271608c5f2..730c5794e254d3cfa7a7a9f45144eb06e51c592f 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -1912,12 +1912,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()); |
@@ -1976,13 +1975,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()); |