Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index 8867b19f0727a96f3f8aa9bd7f4921b0e256b49c..e14b2bae899ebbe24e70b670f8c734de8d03a635 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -4710,7 +4710,11 @@ void CallFunctionStub::Generate(MacroAssembler* masm) { |
Label call_as_function; |
__ LoadRoot(at, Heap::kTheHoleValueRootIndex); |
__ Branch(&call_as_function, eq, t0, Operand(at)); |
- __ InvokeFunction(a1, actual, JUMP_FUNCTION); |
+ __ InvokeFunction(a1, |
+ actual, |
+ JUMP_FUNCTION, |
+ NullCallWrapper(), |
+ CALL_AS_METHOD); |
__ bind(&call_as_function); |
} |
__ InvokeFunction(a1, |