Index: src/ppc/lithium-ppc.cc |
diff --git a/src/ppc/lithium-ppc.cc b/src/ppc/lithium-ppc.cc |
index 35b09f9973a9f15d397fc29b8522a40cfb621f1f..2ad66455e6f02844e8ac894ae2ead5008778514c 100644 |
--- a/src/ppc/lithium-ppc.cc |
+++ b/src/ppc/lithium-ppc.cc |
@@ -2275,8 +2275,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); |
} |
@@ -2359,8 +2367,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); |
} |