| Index: src/ia32/ic-ia32.cc
|
| diff --git a/src/ia32/ic-ia32.cc b/src/ia32/ic-ia32.cc
|
| index 2973beb3e461a8c53ceef5e6453d1b4e59eb18ce..27ddb4338c8ffa39e2c8a00cde6ab0252fe68634 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);
|
| - __ mov(edx, FieldOperand(edx, GlobalObject::kGlobalReceiverOffset));
|
| - __ mov(Operand(esp, (argc + 1) * kPointerSize), edx);
|
| + CallStubCompiler::PatchGlobalProxy(masm, argc, edi);
|
| +
|
| __ bind(&invoke);
|
| }
|
|
|
|
|