| Index: src/arm64/lithium-arm64.cc
|
| diff --git a/src/arm64/lithium-arm64.cc b/src/arm64/lithium-arm64.cc
|
| index 2af833b4ec46ab1988d5ad71ecb13631ac795aaf..a5d59be6f1ca576877feafb811d924eb8d0fb1ab 100644
|
| --- a/src/arm64/lithium-arm64.cc
|
| +++ b/src/arm64/lithium-arm64.cc
|
| @@ -1658,7 +1658,8 @@ LInstruction* LChunkBuilder::DoLoadGlobalCell(HLoadGlobalCell* instr) {
|
|
|
| LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) {
|
| LOperand* context = UseFixed(instr->context(), cp);
|
| - LOperand* global_object = UseFixed(instr->global_object(), x0);
|
| + LOperand* global_object = UseFixed(instr->global_object(),
|
| + LoadIC::ReceiverRegister());
|
| LLoadGlobalGeneric* result =
|
| new(zone()) LLoadGlobalGeneric(context, global_object);
|
| return MarkAsCall(DefineFixed(result, x0), instr);
|
| @@ -1714,8 +1715,8 @@ LInstruction* LChunkBuilder::DoLoadKeyed(HLoadKeyed* instr) {
|
|
|
| LInstruction* LChunkBuilder::DoLoadKeyedGeneric(HLoadKeyedGeneric* instr) {
|
| LOperand* context = UseFixed(instr->context(), cp);
|
| - LOperand* object = UseFixed(instr->object(), x1);
|
| - LOperand* key = UseFixed(instr->key(), x0);
|
| + LOperand* object = UseFixed(instr->object(), KeyedLoadIC::ReceiverRegister());
|
| + LOperand* key = UseFixed(instr->key(), KeyedLoadIC::NameRegister());
|
|
|
| LInstruction* result =
|
| DefineFixed(new(zone()) LLoadKeyedGeneric(context, object, key), x0);
|
| @@ -1731,7 +1732,7 @@ LInstruction* LChunkBuilder::DoLoadNamedField(HLoadNamedField* instr) {
|
|
|
| LInstruction* LChunkBuilder::DoLoadNamedGeneric(HLoadNamedGeneric* instr) {
|
| LOperand* context = UseFixed(instr->context(), cp);
|
| - LOperand* object = UseFixed(instr->object(), x0);
|
| + LOperand* object = UseFixed(instr->object(), LoadIC::ReceiverRegister());
|
| LInstruction* result =
|
| DefineFixed(new(zone()) LLoadNamedGeneric(context, object), x0);
|
| return MarkAsCall(result, instr);
|
|
|