Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index f264f6248ec7f4fe13ce40ad326d94c9d5d9c0db..0e0fea30e8e2920ab11640f7017286c66f479b59 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -2201,9 +2201,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()); |
@@ -2277,8 +2277,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); |