| Index: src/arm/lithium-arm.cc
|
| diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc
|
| index d6ba4d79fb422cdcc19a662025af195a6b378651..d1cc422eab4ffb21b91f51253b7d822671926fec 100644
|
| --- a/src/arm/lithium-arm.cc
|
| +++ b/src/arm/lithium-arm.cc
|
| @@ -2216,8 +2216,7 @@ LInstruction* LChunkBuilder::DoLoadGlobalCell(HLoadGlobalCell* instr) {
|
|
|
| LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) {
|
| LOperand* context = UseFixed(instr->context(), cp);
|
| - LOperand* global_object = UseFixed(instr->global_object(),
|
| - LoadIC::ReceiverRegister());
|
| + LOperand* global_object = UseFixed(instr->global_object(), r0);
|
| LLoadGlobalGeneric* result =
|
| new(zone()) LLoadGlobalGeneric(context, global_object);
|
| return MarkAsCall(DefineFixed(result, r0), instr);
|
| @@ -2271,7 +2270,7 @@ LInstruction* LChunkBuilder::DoLoadNamedField(HLoadNamedField* instr) {
|
|
|
| LInstruction* LChunkBuilder::DoLoadNamedGeneric(HLoadNamedGeneric* instr) {
|
| LOperand* context = UseFixed(instr->context(), cp);
|
| - LOperand* object = UseFixed(instr->object(), LoadIC::ReceiverRegister());
|
| + LOperand* object = UseFixed(instr->object(), r0);
|
| LInstruction* result =
|
| DefineFixed(new(zone()) LLoadNamedGeneric(context, object), r0);
|
| return MarkAsCall(result, instr);
|
| @@ -2331,8 +2330,8 @@ LInstruction* LChunkBuilder::DoLoadKeyed(HLoadKeyed* instr) {
|
|
|
| LInstruction* LChunkBuilder::DoLoadKeyedGeneric(HLoadKeyedGeneric* instr) {
|
| LOperand* context = UseFixed(instr->context(), cp);
|
| - LOperand* object = UseFixed(instr->object(), KeyedLoadIC::ReceiverRegister());
|
| - LOperand* key = UseFixed(instr->key(), KeyedLoadIC::NameRegister());
|
| + LOperand* object = UseFixed(instr->object(), r1);
|
| + LOperand* key = UseFixed(instr->key(), r0);
|
|
|
| LInstruction* result =
|
| DefineFixed(new(zone()) LLoadKeyedGeneric(context, object, key), r0);
|
|
|