Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 4ee73e851abd5e8b5e6d893c1435a219b378c7cf..2221dee4ec954cabd655dc8f04ce007afa387efd 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -2322,8 +2322,16 @@ LInstruction* LChunkBuilder::DoStoreKeyedGeneric(HStoreKeyedGeneric* instr) { |
DCHECK(instr->key()->representation().IsTagged()); |
DCHECK(instr->value()->representation().IsTagged()); |
- return MarkAsCall( |
- new(zone()) LStoreKeyedGeneric(context, obj, key, val), instr); |
+ LOperand* slot = NULL; |
+ LOperand* vector = NULL; |
+ if (instr->HasVectorAndSlot()) { |
+ slot = FixedTemp(VectorStoreICDescriptor::SlotRegister()); |
+ vector = FixedTemp(VectorStoreICDescriptor::VectorRegister()); |
+ } |
+ |
+ LStoreKeyedGeneric* result = |
+ new (zone()) LStoreKeyedGeneric(context, obj, key, val, slot, vector); |
+ return MarkAsCall(result, instr); |
} |
@@ -2408,8 +2416,15 @@ LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) { |
LOperand* obj = |
UseFixed(instr->object(), StoreDescriptor::ReceiverRegister()); |
LOperand* val = UseFixed(instr->value(), StoreDescriptor::ValueRegister()); |
+ LOperand* slot = NULL; |
+ LOperand* vector = NULL; |
+ if (instr->HasVectorAndSlot()) { |
+ slot = FixedTemp(VectorStoreICDescriptor::SlotRegister()); |
+ vector = FixedTemp(VectorStoreICDescriptor::VectorRegister()); |
+ } |
- LInstruction* result = new(zone()) LStoreNamedGeneric(context, obj, val); |
+ LStoreNamedGeneric* result = |
+ new (zone()) LStoreNamedGeneric(context, obj, val, slot, vector); |
return MarkAsCall(result, instr); |
} |