Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index 0992e0072c152dbbb41affac54221ba2a1e83755..7000a49ad1acdea979348bc2dbe6afa8fd05df0a 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -3981,7 +3981,11 @@ void CallFunctionStub::Generate(MacroAssembler* masm) { |
Label call_as_function; |
__ cmp(eax, masm->isolate()->factory()->the_hole_value()); |
__ j(equal, &call_as_function); |
- __ InvokeFunction(edi, actual, JUMP_FUNCTION); |
+ __ InvokeFunction(edi, |
+ actual, |
+ JUMP_FUNCTION, |
+ NullCallWrapper(), |
+ CALL_AS_METHOD); |
__ bind(&call_as_function); |
} |
__ InvokeFunction(edi, |