Index: src/x64/ic-x64.cc |
diff --git a/src/x64/ic-x64.cc b/src/x64/ic-x64.cc |
index b2d33e0247dc2666cc313b00540c24ad2807880b..9448d3771a7dad634b8a8e4d466351542d038568 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); |
- CallStubCompiler::FetchGlobalProxy(masm, rdx, rdi); |
+ __ movq(rdx, FieldOperand(rdx, GlobalObject::kGlobalReceiverOffset)); |
__ movq(args.GetReceiverOperand(), rdx); |
__ bind(&invoke); |
} |