| Index: src/mips64/code-stubs-mips64.cc | 
| diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc | 
| index 9aa6af1a3015492bc8a4a8f759649a7191290f5d..ab91deb50c0953c278c6f1a31235c34cf818590d 100644 | 
| --- a/src/mips64/code-stubs-mips64.cc | 
| +++ b/src/mips64/code-stubs-mips64.cc | 
| @@ -725,7 +725,7 @@ void CompareICStub::GenerateGeneric(MacroAssembler* masm) { | 
| __ Push(lhs, rhs); | 
| // Figure out which native to call and setup the arguments. | 
| if (cc == eq) { | 
| -    __ TailCallRuntime(strict() ? Runtime::kStrictEquals : Runtime::kEquals, 2); | 
| +    __ TailCallRuntime(strict() ? Runtime::kStrictEquals : Runtime::kEquals); | 
| } else { | 
| int ncr;  // NaN compare result. | 
| if (cc == lt || cc == le) { | 
| @@ -739,9 +739,8 @@ void CompareICStub::GenerateGeneric(MacroAssembler* masm) { | 
|  | 
| // Call the native; it returns -1 (less), 0 (equal), or 1 (greater) | 
| // tagged as a small integer. | 
| -    __ TailCallRuntime( | 
| -        is_strong(strength()) ? Runtime::kCompare_Strong : Runtime::kCompare, | 
| -        3); | 
| +    __ TailCallRuntime(is_strong(strength()) ? Runtime::kCompare_Strong | 
| +                                             : Runtime::kCompare); | 
| } | 
|  | 
| __ bind(&miss); | 
| @@ -976,7 +975,7 @@ void MathPowStub::Generate(MacroAssembler* masm) { | 
| if (exponent_type() == ON_STACK) { | 
| // The arguments are still on the stack. | 
| __ bind(&call_runtime); | 
| -    __ TailCallRuntime(Runtime::kMathPowRT, 2); | 
| +    __ TailCallRuntime(Runtime::kMathPowRT); | 
|  | 
| // The stub is called from non-optimized code, which expects the result | 
| // as heap number in exponent. | 
| @@ -1534,12 +1533,12 @@ void InstanceOfStub::Generate(MacroAssembler* masm) { | 
| // Invalidate the instanceof cache. | 
| DCHECK(Smi::FromInt(0) == 0); | 
| __ StoreRoot(zero_reg, Heap::kInstanceofCacheFunctionRootIndex); | 
| -  __ TailCallRuntime(Runtime::kHasInPrototypeChain, 2); | 
| +  __ TailCallRuntime(Runtime::kHasInPrototypeChain); | 
|  | 
| // Slow-case: Call the %InstanceOf runtime function. | 
| __ bind(&slow_case); | 
| __ Push(object, function); | 
| -  __ TailCallRuntime(Runtime::kInstanceOf, 2); | 
| +  __ TailCallRuntime(Runtime::kInstanceOf); | 
| } | 
|  | 
|  | 
| @@ -1610,7 +1609,7 @@ void ArgumentsAccessStub::GenerateReadElement(MacroAssembler* masm) { | 
| // by calling the runtime system. | 
| __ bind(&slow); | 
| __ push(a1); | 
| -  __ TailCallRuntime(Runtime::kArguments, 1); | 
| +  __ TailCallRuntime(Runtime::kArguments); | 
| } | 
|  | 
|  | 
| @@ -1638,7 +1637,7 @@ void ArgumentsAccessStub::GenerateNewSloppySlow(MacroAssembler* masm) { | 
|  | 
| __ bind(&runtime); | 
| __ Push(a1, a3, a2); | 
| -  __ TailCallRuntime(Runtime::kNewSloppyArguments, 3); | 
| +  __ TailCallRuntime(Runtime::kNewSloppyArguments); | 
| } | 
|  | 
|  | 
| @@ -1852,7 +1851,7 @@ void ArgumentsAccessStub::GenerateNewSloppyFast(MacroAssembler* masm) { | 
| // a5 = argument count (tagged) | 
| __ bind(&runtime); | 
| __ Push(a1, a3, a5); | 
| -  __ TailCallRuntime(Runtime::kNewSloppyArguments, 3); | 
| +  __ TailCallRuntime(Runtime::kNewSloppyArguments); | 
| } | 
|  | 
|  | 
| @@ -1871,7 +1870,7 @@ void LoadIndexedInterceptorStub::Generate(MacroAssembler* masm) { | 
| __ Push(receiver, key);  // Receiver, key. | 
|  | 
| // Perform tail call to the entry. | 
| -  __ TailCallRuntime(Runtime::kLoadElementWithInterceptor, 2); | 
| +  __ TailCallRuntime(Runtime::kLoadElementWithInterceptor); | 
|  | 
| __ bind(&slow); | 
| PropertyAccessCompiler::TailCallBuiltin( | 
| @@ -1965,7 +1964,7 @@ void ArgumentsAccessStub::GenerateNewStrict(MacroAssembler* masm) { | 
| // Do the runtime call to allocate the arguments object. | 
| __ bind(&runtime); | 
| __ Push(a1, a3, a2); | 
| -  __ TailCallRuntime(Runtime::kNewStrictArguments, 3); | 
| +  __ TailCallRuntime(Runtime::kNewStrictArguments); | 
| } | 
|  | 
|  | 
| @@ -1994,7 +1993,7 @@ void RestParamAccessStub::GenerateNew(MacroAssembler* masm) { | 
|  | 
| // Do the runtime call to allocate the arguments object. | 
| __ bind(&runtime); | 
| -  __ TailCallRuntime(Runtime::kNewRestParam, 4); | 
| +  __ TailCallRuntime(Runtime::kNewRestParam); | 
| } | 
|  | 
|  | 
| @@ -2003,7 +2002,7 @@ void RegExpExecStub::Generate(MacroAssembler* masm) { | 
| // time or if regexp entry in generated code is turned off runtime switch or | 
| // at compilation. | 
| #ifdef V8_INTERPRETED_REGEXP | 
| -  __ TailCallRuntime(Runtime::kRegExpExec, 4); | 
| +  __ TailCallRuntime(Runtime::kRegExpExec); | 
| #else  // V8_INTERPRETED_REGEXP | 
|  | 
| // Stack frame on entry. | 
| @@ -2320,7 +2319,7 @@ void RegExpExecStub::Generate(MacroAssembler* masm) { | 
| __ Branch(&runtime, eq, v0, Operand(a1)); | 
|  | 
| // For exception, throw the exception again. | 
| -  __ TailCallRuntime(Runtime::kRegExpExecReThrow, 4); | 
| +  __ TailCallRuntime(Runtime::kRegExpExecReThrow); | 
|  | 
| __ bind(&failure); | 
| // For failure and exception return null. | 
| @@ -2416,7 +2415,7 @@ void RegExpExecStub::Generate(MacroAssembler* masm) { | 
|  | 
| // Do the runtime call to execute the regexp. | 
| __ bind(&runtime); | 
| -  __ TailCallRuntime(Runtime::kRegExpExec, 4); | 
| +  __ TailCallRuntime(Runtime::kRegExpExec); | 
|  | 
| // Deferred code for string handling. | 
| // (6) Not a long external string?  If yes, go to (8). | 
| @@ -2824,7 +2823,7 @@ void CallICStub::GenerateMiss(MacroAssembler* masm) { | 
| __ Push(a1, a2, a3); | 
|  | 
| // Call the entry. | 
| -  __ CallRuntime(Runtime::kCallIC_Miss, 3); | 
| +  __ CallRuntime(Runtime::kCallIC_Miss); | 
|  | 
| // Move result to a1 and exit the internal frame. | 
| __ mov(a1, v0); | 
| @@ -2853,11 +2852,11 @@ void StringCharCodeAtGenerator::GenerateSlow( | 
| __ Push(object_, index_); | 
| } | 
| if (index_flags_ == STRING_INDEX_IS_NUMBER) { | 
| -    __ CallRuntime(Runtime::kNumberToIntegerMapMinusZero, 1); | 
| +    __ CallRuntime(Runtime::kNumberToIntegerMapMinusZero); | 
| } else { | 
| DCHECK(index_flags_ == STRING_INDEX_IS_ARRAY_INDEX); | 
| // NumberToSmi discards numbers that are not exact integers. | 
| -    __ CallRuntime(Runtime::kNumberToSmi, 1); | 
| +    __ CallRuntime(Runtime::kNumberToSmi); | 
| } | 
|  | 
| // Save the conversion result before the pop instructions below | 
| @@ -2886,7 +2885,7 @@ void StringCharCodeAtGenerator::GenerateSlow( | 
| call_helper.BeforeCall(masm); | 
| __ SmiTag(index_); | 
| __ Push(object_, index_); | 
| -  __ CallRuntime(Runtime::kStringCharCodeAtRT, 2); | 
| +  __ CallRuntime(Runtime::kStringCharCodeAtRT); | 
|  | 
| __ Move(result_, v0); | 
|  | 
| @@ -2925,7 +2924,7 @@ void StringCharFromCodeGenerator::GenerateSlow( | 
| __ bind(&slow_case_); | 
| call_helper.BeforeCall(masm); | 
| __ push(code_); | 
| -  __ CallRuntime(Runtime::kStringCharFromCode, 1); | 
| +  __ CallRuntime(Runtime::kStringCharFromCode); | 
| __ Move(result_, v0); | 
|  | 
| call_helper.AfterCall(masm); | 
| @@ -3187,7 +3186,7 @@ void SubStringStub::Generate(MacroAssembler* masm) { | 
|  | 
| // Just jump to runtime to create the sub string. | 
| __ bind(&runtime); | 
| -  __ TailCallRuntime(Runtime::kSubString, 3); | 
| +  __ TailCallRuntime(Runtime::kSubString); | 
|  | 
| __ bind(&single_char); | 
| // v0: original string | 
| @@ -3232,7 +3231,7 @@ void ToNumberStub::Generate(MacroAssembler* masm) { | 
| __ mov(v0, a0); | 
| __ bind(&slow_string); | 
| __ push(a0);  // Push argument. | 
| -  __ TailCallRuntime(Runtime::kStringToNumber, 1); | 
| +  __ TailCallRuntime(Runtime::kStringToNumber); | 
| __ bind(¬_string); | 
|  | 
| Label not_oddball; | 
| @@ -3242,7 +3241,7 @@ void ToNumberStub::Generate(MacroAssembler* masm) { | 
| __ bind(¬_oddball); | 
|  | 
| __ push(a0);  // Push argument. | 
| -  __ TailCallRuntime(Runtime::kToNumber, 1); | 
| +  __ TailCallRuntime(Runtime::kToNumber); | 
| } | 
|  | 
|  | 
| @@ -3259,7 +3258,7 @@ void ToLengthStub::Generate(MacroAssembler* masm) { | 
| __ bind(¬_smi); | 
|  | 
| __ push(a0);  // Push argument. | 
| -  __ TailCallRuntime(Runtime::kToLength, 1); | 
| +  __ TailCallRuntime(Runtime::kToLength); | 
| } | 
|  | 
|  | 
| @@ -3291,7 +3290,7 @@ void ToStringStub::Generate(MacroAssembler* masm) { | 
| __ bind(¬_oddball); | 
|  | 
| __ push(a0);  // Push argument. | 
| -  __ TailCallRuntime(Runtime::kToString, 1); | 
| +  __ TailCallRuntime(Runtime::kToString); | 
| } | 
|  | 
|  | 
| @@ -3429,7 +3428,7 @@ void StringCompareStub::Generate(MacroAssembler* masm) { | 
|  | 
| __ bind(&runtime); | 
| __ Push(a1, a0); | 
| -  __ TailCallRuntime(Runtime::kStringCompare, 2); | 
| +  __ TailCallRuntime(Runtime::kStringCompare); | 
| } | 
|  | 
|  | 
| @@ -3468,7 +3467,7 @@ void CompareICStub::GenerateBooleans(MacroAssembler* masm) { | 
| __ CheckMap(a1, a2, Heap::kBooleanMapRootIndex, &miss, DO_SMI_CHECK); | 
| __ CheckMap(a0, a3, Heap::kBooleanMapRootIndex, &miss, DO_SMI_CHECK); | 
| if (op() != Token::EQ_STRICT && is_strong(strength())) { | 
| -    __ TailCallRuntime(Runtime::kThrowStrongModeImplicitConversion, 0); | 
| +    __ TailCallRuntime(Runtime::kThrowStrongModeImplicitConversion); | 
| } else { | 
| if (!Token::IsEqualityOp(op())) { | 
| __ ld(a1, FieldMemOperand(a1, Oddball::kToNumberOffset)); | 
| @@ -3761,9 +3760,9 @@ void CompareICStub::GenerateStrings(MacroAssembler* masm) { | 
| __ bind(&runtime); | 
| __ Push(left, right); | 
| if (equality) { | 
| -    __ TailCallRuntime(Runtime::kStringEquals, 2); | 
| +    __ TailCallRuntime(Runtime::kStringEquals); | 
| } else { | 
| -    __ TailCallRuntime(Runtime::kStringCompare, 2); | 
| +    __ TailCallRuntime(Runtime::kStringCompare); | 
| } | 
|  | 
| __ bind(&miss); | 
| @@ -3807,7 +3806,7 @@ void CompareICStub::GenerateKnownReceivers(MacroAssembler* masm) { | 
| __ Ret(USE_DELAY_SLOT); | 
| __ dsubu(v0, a0, a1); | 
| } else if (is_strong(strength())) { | 
| -    __ TailCallRuntime(Runtime::kThrowStrongModeImplicitConversion, 0); | 
| +    __ TailCallRuntime(Runtime::kThrowStrongModeImplicitConversion); | 
| } else { | 
| if (op() == Token::LT || op() == Token::LTE) { | 
| __ li(a2, Operand(Smi::FromInt(GREATER))); | 
| @@ -3815,7 +3814,7 @@ void CompareICStub::GenerateKnownReceivers(MacroAssembler* masm) { | 
| __ li(a2, Operand(Smi::FromInt(LESS))); | 
| } | 
| __ Push(a1, a0, a2); | 
| -    __ TailCallRuntime(Runtime::kCompare, 3); | 
| +    __ TailCallRuntime(Runtime::kCompare); | 
| } | 
|  | 
| __ bind(&miss); | 
| @@ -5201,7 +5200,7 @@ void LoadGlobalViaContextStub::Generate(MacroAssembler* masm) { | 
| __ bind(&slow_case); | 
| __ SmiTag(slot_reg); | 
| __ Push(slot_reg); | 
| -  __ TailCallRuntime(Runtime::kLoadGlobalViaContext, 1); | 
| +  __ TailCallRuntime(Runtime::kLoadGlobalViaContext); | 
| } | 
|  | 
|  | 
| @@ -5315,8 +5314,7 @@ void StoreGlobalViaContextStub::Generate(MacroAssembler* masm) { | 
| __ Push(slot_reg, value_reg); | 
| __ TailCallRuntime(is_strict(language_mode()) | 
| ? Runtime::kStoreGlobalViaContext_Strict | 
| -                         : Runtime::kStoreGlobalViaContext_Sloppy, | 
| -                     2); | 
| +                         : Runtime::kStoreGlobalViaContext_Sloppy); | 
| } | 
|  | 
|  | 
| @@ -5441,7 +5439,7 @@ static void CallApiFunctionAndReturn( | 
|  | 
| // Re-throw by promoting a scheduled exception. | 
| __ bind(&promote_scheduled_exception); | 
| -  __ TailCallRuntime(Runtime::kPromoteScheduledException, 0); | 
| +  __ TailCallRuntime(Runtime::kPromoteScheduledException); | 
|  | 
| // HandleScope limit has changed. Delete allocated extensions. | 
| __ bind(&delete_allocated_handles); | 
|  |