| Index: src/ia32/lithium-ia32.cc
|
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc
|
| index e245ba725f4b5ab4ddc5ad561a92c351b3048991..6c2d67f231b4f0a1a781511b0b992b41fd72aff7 100644
|
| --- a/src/ia32/lithium-ia32.cc
|
| +++ b/src/ia32/lithium-ia32.cc
|
| @@ -2343,8 +2343,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);
|
| }
|
|
|
| @@ -2455,9 +2462,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);
|
| }
|
|
|
|
|