Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index bcdb7dd1b39c30f63819d5ff40054d45cb9e03f9..6b75886ebdfe63c967433e64fd4ed50a6af99cf0 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -2030,7 +2030,8 @@ LInstruction* LChunkBuilder::DoLoadGlobalCell(HLoadGlobalCell* instr) { |
LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) { |
LOperand* context = UseFixed(instr->context(), cp); |
- LOperand* global_object = UseFixed(instr->global_object(), a0); |
+ LOperand* global_object = UseFixed(instr->global_object(), |
+ LoadIC::ReceiverRegister()); |
LLoadGlobalGeneric* result = |
new(zone()) LLoadGlobalGeneric(context, global_object); |
return MarkAsCall(DefineFixed(result, v0), instr); |
@@ -2084,7 +2085,7 @@ LInstruction* LChunkBuilder::DoLoadNamedField(HLoadNamedField* instr) { |
LInstruction* LChunkBuilder::DoLoadNamedGeneric(HLoadNamedGeneric* instr) { |
LOperand* context = UseFixed(instr->context(), cp); |
- LOperand* object = UseFixed(instr->object(), a0); |
+ LOperand* object = UseFixed(instr->object(), LoadIC::ReceiverRegister()); |
LInstruction* result = |
DefineFixed(new(zone()) LLoadNamedGeneric(context, object), v0); |
return MarkAsCall(result, instr); |
@@ -2144,8 +2145,8 @@ LInstruction* LChunkBuilder::DoLoadKeyed(HLoadKeyed* instr) { |
LInstruction* LChunkBuilder::DoLoadKeyedGeneric(HLoadKeyedGeneric* instr) { |
LOperand* context = UseFixed(instr->context(), cp); |
- LOperand* object = UseFixed(instr->object(), a1); |
- LOperand* key = UseFixed(instr->key(), a0); |
+ LOperand* object = UseFixed(instr->object(), KeyedLoadIC::ReceiverRegister()); |
+ LOperand* key = UseFixed(instr->key(), KeyedLoadIC::NameRegister()); |
LInstruction* result = |
DefineFixed(new(zone()) LLoadKeyedGeneric(context, object, key), v0); |