Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 21fd7837a688bcc5b8897390d264bdabd62f328f..90ff02394a68fd295f3840bc4bbb5efb1ad29771 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -2255,9 +2255,9 @@ LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) { |
LInstruction* LChunkBuilder::DoStoreKeyedGeneric(HStoreKeyedGeneric* instr) { |
LOperand* context = UseFixed(instr->context(), cp); |
- LOperand* obj = UseFixed(instr->object(), r2); |
- LOperand* key = UseFixed(instr->key(), r1); |
- LOperand* val = UseFixed(instr->value(), r0); |
+ 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()); |
@@ -2331,8 +2331,8 @@ LInstruction* LChunkBuilder::DoStoreNamedField(HStoreNamedField* instr) { |
LInstruction* LChunkBuilder::DoStoreNamedGeneric(HStoreNamedGeneric* instr) { |
LOperand* context = UseFixed(instr->context(), cp); |
- LOperand* obj = UseFixed(instr->object(), r1); |
- LOperand* val = UseFixed(instr->value(), r0); |
+ 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); |