Index: src/ia32/ic-ia32.cc |
diff --git a/src/ia32/ic-ia32.cc b/src/ia32/ic-ia32.cc |
index 2973beb3e461a8c53ceef5e6453d1b4e59eb18ce..4db8802f6f36a8ddfeeb4a9b0e632010ce2a0db4 100644 |
--- a/src/ia32/ic-ia32.cc |
+++ b/src/ia32/ic-ia32.cc |
@@ -1112,8 +1112,9 @@ void CallICBase::GenerateMiss(MacroAssembler* masm, |
// Patch the receiver on the stack. |
__ bind(&global); |
- __ mov(edx, FieldOperand(edx, GlobalObject::kGlobalReceiverOffset)); |
+ CallStubCompiler::FetchGlobalProxy(masm, edx, edi); |
__ mov(Operand(esp, (argc + 1) * kPointerSize), edx); |
+ |
__ bind(&invoke); |
} |