Index: src/arm64/lithium-arm64.cc |
diff --git a/src/arm64/lithium-arm64.cc b/src/arm64/lithium-arm64.cc |
index dde8ddbdbf3ad4a72c3342b933863501dd89873a..eaa5c880aa6237a07dead68468d04abe3b3c4066 100644 |
--- a/src/arm64/lithium-arm64.cc |
+++ b/src/arm64/lithium-arm64.cc |
@@ -2388,8 +2388,16 @@ LInstruction* LChunkBuilder::DoStoreKeyedGeneric(HStoreKeyedGeneric* instr) { |
DCHECK(instr->key()->representation().IsTagged()); |
DCHECK(instr->value()->representation().IsTagged()); |
- return MarkAsCall( |
- new(zone()) LStoreKeyedGeneric(context, object, key, value), instr); |
+ LOperand* slot = NULL; |
+ LOperand* vector = NULL; |
+ if (instr->HasVectorAndSlot()) { |
+ slot = FixedTemp(VectorStoreICDescriptor::SlotRegister()); |
+ vector = FixedTemp(VectorStoreICDescriptor::VectorRegister()); |
+ } |
+ |
+ LStoreKeyedGeneric* result = new (zone()) |
+ LStoreKeyedGeneric(context, object, key, value, slot, vector); |
+ return MarkAsCall(result, instr); |
} |
@@ -2428,7 +2436,15 @@ LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) { |
UseFixed(instr->object(), StoreDescriptor::ReceiverRegister()); |
LOperand* value = UseFixed(instr->value(), StoreDescriptor::ValueRegister()); |
- LInstruction* result = new(zone()) LStoreNamedGeneric(context, object, value); |
+ LOperand* slot = NULL; |
+ LOperand* vector = NULL; |
+ if (instr->HasVectorAndSlot()) { |
+ slot = FixedTemp(VectorStoreICDescriptor::SlotRegister()); |
+ vector = FixedTemp(VectorStoreICDescriptor::VectorRegister()); |
+ } |
+ |
+ LStoreNamedGeneric* result = |
+ new (zone()) LStoreNamedGeneric(context, object, value, slot, vector); |
return MarkAsCall(result, instr); |
} |