| Index: src/x64/ic-x64.cc
|
| diff --git a/src/x64/ic-x64.cc b/src/x64/ic-x64.cc
|
| index 9448d3771a7dad634b8a8e4d466351542d038568..b2d33e0247dc2666cc313b00540c24ad2807880b 100644
|
| --- a/src/x64/ic-x64.cc
|
| +++ b/src/x64/ic-x64.cc
|
| @@ -998,7 +998,7 @@ void CallICBase::GenerateMiss(MacroAssembler* masm,
|
|
|
| // Patch the receiver on the stack.
|
| __ bind(&global);
|
| - __ movq(rdx, FieldOperand(rdx, GlobalObject::kGlobalReceiverOffset));
|
| + CallStubCompiler::FetchGlobalProxy(masm, rdx, rdi);
|
| __ movq(args.GetReceiverOperand(), rdx);
|
| __ bind(&invoke);
|
| }
|
|
|