Index: src/mips/stub-cache-mips.cc |
diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc |
index 97a58c763b79ab5df446e2db33ff42f4132b3ac9..b0504649bf40984a8c57539e1dc4d885b4105e6d 100644 |
--- a/src/mips/stub-cache-mips.cc |
+++ b/src/mips/stub-cache-mips.cc |
@@ -747,7 +747,7 @@ class CallInterceptorCompiler BASE_EMBEDDED { |
? CALL_AS_FUNCTION |
: CALL_AS_METHOD; |
__ InvokeFunction(optimization.constant_function(), arguments_, |
- JUMP_FUNCTION, call_kind); |
+ JUMP_FUNCTION, NullCallWrapper(), call_kind); |
} |
// Deferred code for fast API call case---clean preallocated space. |
@@ -1934,7 +1934,8 @@ Handle<Code> CallStubCompiler::CompileStringFromCharCodeCall( |
// Tail call the full function. We do not have to patch the receiver |
// because the function makes no use of it. |
__ bind(&slow); |
- __ InvokeFunction(function, arguments(), JUMP_FUNCTION, CALL_AS_METHOD); |
+ __ InvokeFunction( |
+ function, arguments(), JUMP_FUNCTION, NullCallWrapper(), CALL_AS_METHOD); |
__ bind(&miss); |
// a2: function name. |
@@ -2067,7 +2068,8 @@ Handle<Code> CallStubCompiler::CompileMathFloorCall( |
__ bind(&slow); |
// Tail call the full function. We do not have to patch the receiver |
// because the function makes no use of it. |
- __ InvokeFunction(function, arguments(), JUMP_FUNCTION, CALL_AS_METHOD); |
+ __ InvokeFunction( |
+ function, arguments(), JUMP_FUNCTION, NullCallWrapper(), CALL_AS_METHOD); |
__ bind(&miss); |
// a2: function name. |
@@ -2167,7 +2169,8 @@ Handle<Code> CallStubCompiler::CompileMathAbsCall( |
// Tail call the full function. We do not have to patch the receiver |
// because the function makes no use of it. |
__ bind(&slow); |
- __ InvokeFunction(function, arguments(), JUMP_FUNCTION, CALL_AS_METHOD); |
+ __ InvokeFunction( |
+ function, arguments(), JUMP_FUNCTION, NullCallWrapper(), CALL_AS_METHOD); |
__ bind(&miss); |
// a2: function name. |
@@ -2346,7 +2349,8 @@ Handle<Code> CallStubCompiler::CompileCallConstant(Handle<Object> object, |
CallKind call_kind = CallICBase::Contextual::decode(extra_state_) |
? CALL_AS_FUNCTION |
: CALL_AS_METHOD; |
- __ InvokeFunction(function, arguments(), JUMP_FUNCTION, call_kind); |
+ __ InvokeFunction( |
+ function, arguments(), JUMP_FUNCTION, NullCallWrapper(), call_kind); |
// Handle call cache miss. |
__ bind(&miss); |