Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index 530bd980ca9d0a509e7c1742c6b80bc55e06a2d9..1698c6ccb4d37c0ef2b066137a752cb88d782853 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -3344,11 +3344,7 @@ void CallFunctionStub::Generate(MacroAssembler* masm) { |
// a1: pushed function |
ParameterCount actual(argc_); |
- __ InvokeFunction(a1, |
- actual, |
- JUMP_FUNCTION, |
- NullCallWrapper(), |
- CALL_AS_FUNCTION); |
+ __ InvokeFunction(a1, actual, JUMP_FUNCTION, NullCallWrapper()); |
// Slow-case: Non-function called. |
__ bind(&slow); |
@@ -3367,7 +3363,6 @@ void CallFunctionStub::Generate(MacroAssembler* masm) { |
__ li(a0, Operand(argc_ + 1, RelocInfo::NONE32)); |
__ li(a2, Operand(0, RelocInfo::NONE32)); |
__ GetBuiltinEntry(a3, Builtins::CALL_FUNCTION_PROXY); |
- __ SetCallKind(t1, CALL_AS_FUNCTION); |
{ |
Handle<Code> adaptor = |
masm->isolate()->builtins()->ArgumentsAdaptorTrampoline(); |
@@ -3381,7 +3376,6 @@ void CallFunctionStub::Generate(MacroAssembler* masm) { |
__ li(a0, Operand(argc_)); // Set up the number of arguments. |
__ mov(a2, zero_reg); |
__ GetBuiltinEntry(a3, Builtins::CALL_NON_FUNCTION); |
- __ SetCallKind(t1, CALL_AS_FUNCTION); |
__ Jump(masm->isolate()->builtins()->ArgumentsAdaptorTrampoline(), |
RelocInfo::CODE_TARGET); |
} |
@@ -3425,7 +3419,6 @@ void CallConstructStub::Generate(MacroAssembler* masm) { |
__ bind(&do_call); |
// Set expected number of arguments to zero (not changing r0). |
__ li(a2, Operand(0, RelocInfo::NONE32)); |
- __ SetCallKind(t1, CALL_AS_METHOD); |
__ Jump(masm->isolate()->builtins()->ArgumentsAdaptorTrampoline(), |
RelocInfo::CODE_TARGET); |
} |
@@ -5608,8 +5601,7 @@ void StubFailureTailCallTrampolineStub::Generate(MacroAssembler* masm) { |
__ Subu(a0, a0, 1); |
masm->LeaveFrame(StackFrame::STUB_FAILURE_TRAMPOLINE); |
ParameterCount argument_count(a0); |
- __ InvokeFunction( |
- a1, argument_count, JUMP_FUNCTION, NullCallWrapper(), CALL_AS_METHOD); |
+ __ InvokeFunction(a1, argument_count, JUMP_FUNCTION, NullCallWrapper()); |
} |