Index: src/ia32/ic-ia32.cc |
diff --git a/src/ia32/ic-ia32.cc b/src/ia32/ic-ia32.cc |
index 7aa92f23fa7a3951ed095fb2ec0486d1e1b07e60..b034e494ea7bfe06ccaf3e69bf16d40d094d61c9 100644 |
--- a/src/ia32/ic-ia32.cc |
+++ b/src/ia32/ic-ia32.cc |
@@ -1112,8 +1112,8 @@ void CallICBase::GenerateMiss(MacroAssembler* masm, |
// Patch the receiver on the stack. |
__ bind(&global); |
- CallStubCompiler::FetchGlobalProxy(masm, edx, edi); |
- __ mov(Operand(esp, (argc + 1) * kPointerSize), edx); |
+ __ mov(Operand(esp, (argc + 1) * kPointerSize), |
+ masm->isolate()->factory()->undefined_value()); |
__ bind(&invoke); |
} |