| Index: src/x64/code-stubs-x64.cc
|
| ===================================================================
|
| --- src/x64/code-stubs-x64.cc (revision 8110)
|
| +++ src/x64/code-stubs-x64.cc (working copy)
|
| @@ -2982,7 +2982,11 @@
|
| Label call_as_function;
|
| __ CompareRoot(rax, Heap::kTheHoleValueRootIndex);
|
| __ j(equal, &call_as_function);
|
| - __ InvokeFunction(rdi, actual, JUMP_FUNCTION);
|
| + __ InvokeFunction(rdi,
|
| + actual,
|
| + JUMP_FUNCTION,
|
| + NullCallWrapper(),
|
| + CALL_AS_METHOD);
|
| __ bind(&call_as_function);
|
| }
|
| __ InvokeFunction(rdi,
|
|
|