| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index 04d555168b61f1a32287f4f7002e6162a674ba1b..ff9357c11fdc0a93ad2cf981606f08b480561f5f 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -137,7 +137,7 @@ bool LCodeGen::GeneratePrologue() {
|
| __ j(not_equal, &ok, Label::kNear);
|
|
|
| __ movp(rcx, GlobalObjectOperand());
|
| - __ movp(rcx, FieldOperand(rcx, GlobalObject::kGlobalReceiverOffset));
|
| + __ movp(rcx, FieldOperand(rcx, GlobalObject::kGlobalProxyOffset));
|
|
|
| __ movp(args.GetReceiverOperand(), rcx);
|
|
|
| @@ -3392,8 +3392,7 @@ void LCodeGen::DoWrapReceiver(LWrapReceiver* instr) {
|
| __ movp(receiver,
|
| Operand(receiver,
|
| Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX)));
|
| - __ movp(receiver,
|
| - FieldOperand(receiver, GlobalObject::kGlobalReceiverOffset));
|
| + __ movp(receiver, FieldOperand(receiver, GlobalObject::kGlobalProxyOffset));
|
|
|
| __ bind(&receiver_ok);
|
| }
|
|
|