| Index: src/mips64/lithium-mips64.cc
|
| diff --git a/src/mips64/lithium-mips64.cc b/src/mips64/lithium-mips64.cc
|
| index dd1c6ca2b156f3a12dbe834677eb53373540d774..e90760d9d8ca5cd739272a1b44be41b56c95e34f 100644
|
| --- a/src/mips64/lithium-mips64.cc
|
| +++ b/src/mips64/lithium-mips64.cc
|
| @@ -2200,9 +2200,9 @@ LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) {
|
|
|
| LInstruction* LChunkBuilder::DoStoreKeyedGeneric(HStoreKeyedGeneric* instr) {
|
| LOperand* context = UseFixed(instr->context(), cp);
|
| - LOperand* obj = UseFixed(instr->object(), a2);
|
| - LOperand* key = UseFixed(instr->key(), a1);
|
| - LOperand* val = UseFixed(instr->value(), a0);
|
| + LOperand* obj = UseFixed(instr->object(), KeyedStoreIC::ReceiverRegister());
|
| + LOperand* key = UseFixed(instr->key(), KeyedStoreIC::NameRegister());
|
| + LOperand* val = UseFixed(instr->value(), KeyedStoreIC::ValueRegister());
|
|
|
| ASSERT(instr->object()->representation().IsTagged());
|
| ASSERT(instr->key()->representation().IsTagged());
|
| @@ -2276,8 +2276,8 @@ LInstruction* LChunkBuilder::DoStoreNamedField(HStoreNamedField* instr) {
|
|
|
| LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) {
|
| LOperand* context = UseFixed(instr->context(), cp);
|
| - LOperand* obj = UseFixed(instr->object(), a1);
|
| - LOperand* val = UseFixed(instr->value(), a0);
|
| + LOperand* obj = UseFixed(instr->object(), StoreIC::ReceiverRegister());
|
| + LOperand* val = UseFixed(instr->value(), StoreIC::ValueRegister());
|
|
|
| LInstruction* result = new(zone()) LStoreNamedGeneric(context, obj, val);
|
| return MarkAsCall(result, instr);
|
|
|