Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 9456f2fc7229ce96446340151acaf4111dec4345..1175642d7ee80e1740778994678f5e08ce22606a 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -2326,8 +2326,15 @@ LInstruction* LChunkBuilder::DoStoreKeyedGeneric(HStoreKeyedGeneric* instr) { |
DCHECK(instr->key()->representation().IsTagged()); |
DCHECK(instr->value()->representation().IsTagged()); |
- LStoreKeyedGeneric* result = |
- new(zone()) LStoreKeyedGeneric(context, object, key, value); |
+ 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); |
} |
@@ -2431,9 +2438,15 @@ LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) { |
LOperand* object = |
UseFixed(instr->object(), StoreDescriptor::ReceiverRegister()); |
LOperand* value = UseFixed(instr->value(), StoreDescriptor::ValueRegister()); |
+ 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); |
+ new (zone()) LStoreNamedGeneric(context, object, value, slot, vector); |
return MarkAsCall(result, instr); |
} |