Index: src/mips64/lithium-mips64.cc |
diff --git a/src/mips64/lithium-mips64.cc b/src/mips64/lithium-mips64.cc |
index 6cf6674102cda249a7e557f4b0766ef6ed5af9a6..c243671106a5f7e1a923d9c2b49b6ea986f5b5a4 100644 |
--- a/src/mips64/lithium-mips64.cc |
+++ b/src/mips64/lithium-mips64.cc |
@@ -2274,8 +2274,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); |
} |
@@ -2360,8 +2368,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); |
} |