Index: src/arm/builtins-arm.cc |
diff --git a/src/arm/builtins-arm.cc b/src/arm/builtins-arm.cc |
index 9331505b6025437c0aa1a7fd19faeca3219066e8..132040c4ccd9a4c18f4307070f258d96684b9a7d 100644 |
--- a/src/arm/builtins-arm.cc |
+++ b/src/arm/builtins-arm.cc |
@@ -186,7 +186,7 @@ void Builtins::Generate_StringConstructor(MacroAssembler* masm) { |
__ bind(&symbol_descriptive_string); |
{ |
__ Push(r0); |
- __ TailCallRuntime(Runtime::kSymbolDescriptiveString, 1); |
+ __ TailCallRuntime(Runtime::kSymbolDescriptiveString); |
} |
} |
@@ -267,7 +267,7 @@ void Builtins::Generate_StringConstructor_ConstructStub(MacroAssembler* masm) { |
{ |
FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); |
__ Push(r2, r1, r3); // first argument, constructor, new target |
- __ CallRuntime(Runtime::kNewObject, 2); |
+ __ CallRuntime(Runtime::kNewObject); |
__ Pop(r2); |
} |
__ str(r2, FieldMemOperand(r0, JSValue::kValueOffset)); |
@@ -459,7 +459,7 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm, |
// Push the constructor, new_target and the object to the stack, |
// and then the initial map as an argument to the runtime call. |
__ Push(r1, r3, r4, r2); |
- __ CallRuntime(Runtime::kFinalizeInstanceSize, 1); |
+ __ CallRuntime(Runtime::kFinalizeInstanceSize); |
__ Pop(r1, r3, r4); |
// Continue with JSObject being successfully allocated |
@@ -489,7 +489,7 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm, |
// to the runtime call. |
__ Push(r1, r3); |
__ Push(r1, r3); // constructor function, new target |
- __ CallRuntime(Runtime::kNewObject, 2); |
+ __ CallRuntime(Runtime::kNewObject); |
__ mov(r4, r0); |
__ Pop(r1, r3); |
@@ -626,7 +626,7 @@ void Builtins::Generate_JSBuiltinsConstructStub(MacroAssembler* masm) { |
void Builtins::Generate_ConstructedNonConstructable(MacroAssembler* masm) { |
FrameScope scope(masm, StackFrame::INTERNAL); |
__ push(r1); |
- __ CallRuntime(Runtime::kThrowConstructedNonConstructable, 1); |
+ __ CallRuntime(Runtime::kThrowConstructedNonConstructable); |
} |
@@ -654,7 +654,7 @@ static void Generate_CheckStackOverflow(MacroAssembler* masm, Register argc, |
__ b(gt, &okay); // Signed comparison. |
// Out of stack space. |
- __ CallRuntime(Runtime::kThrowStackOverflow, 0); |
+ __ CallRuntime(Runtime::kThrowStackOverflow); |
__ bind(&okay); |
} |
@@ -812,7 +812,7 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
__ LoadRoot(r2, Heap::kRealStackLimitRootIndex); |
__ cmp(r9, Operand(r2)); |
__ b(hs, &ok); |
- __ CallRuntime(Runtime::kThrowStackOverflow, 0); |
+ __ CallRuntime(Runtime::kThrowStackOverflow); |
__ bind(&ok); |
// If ok, push undefined as the initial value for all register file entries. |
@@ -843,7 +843,7 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
__ cmp(sp, Operand(ip)); |
__ b(hs, &ok); |
__ push(kInterpreterBytecodeArrayRegister); |
- __ CallRuntime(Runtime::kStackGuard, 0); |
+ __ CallRuntime(Runtime::kStackGuard); |
__ pop(kInterpreterBytecodeArrayRegister); |
__ bind(&ok); |
} |
@@ -962,7 +962,7 @@ static void Generate_InterpreterNotifyDeoptimizedHelper( |
// Pass the deoptimization type to the runtime system. |
__ mov(r1, Operand(Smi::FromInt(static_cast<int>(type)))); |
__ push(r1); |
- __ CallRuntime(Runtime::kNotifyDeoptimized, 1); |
+ __ CallRuntime(Runtime::kNotifyDeoptimized); |
__ pop(kInterpreterAccumulatorRegister); // Restore accumulator register. |
// Tear down internal frame. |
@@ -1141,7 +1141,7 @@ static void Generate_NotifyStubFailureHelper(MacroAssembler* masm, |
// registers. |
__ stm(db_w, sp, kJSCallerSaved | kCalleeSaved); |
// Pass the function and deoptimization type to the runtime system. |
- __ CallRuntime(Runtime::kNotifyStubFailure, 0, save_doubles); |
+ __ CallRuntime(Runtime::kNotifyStubFailure, save_doubles); |
__ ldm(ia_w, sp, kJSCallerSaved | kCalleeSaved); |
} |
@@ -1167,7 +1167,7 @@ static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm, |
// Pass the function and deoptimization type to the runtime system. |
__ mov(r0, Operand(Smi::FromInt(static_cast<int>(type)))); |
__ push(r0); |
- __ CallRuntime(Runtime::kNotifyDeoptimized, 1); |
+ __ CallRuntime(Runtime::kNotifyDeoptimized); |
} |
// Get the full codegen state from the stack and untag it -> r6. |
@@ -1322,7 +1322,7 @@ void Builtins::Generate_HandleFastApiCall(MacroAssembler* masm) { |
// Drop the arguments (including the receiver) |
__ add(r0, r0, Operand(1)); |
__ add(sp, sp, Operand(r0, LSL, kPointerSizeLog2)); |
- __ TailCallRuntime(Runtime::kThrowIllegalInvocation, 0); |
+ __ TailCallRuntime(Runtime::kThrowIllegalInvocation); |
} |
@@ -1333,7 +1333,7 @@ void Builtins::Generate_OnStackReplacement(MacroAssembler* masm) { |
FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); |
// Pass function as argument. |
__ push(r0); |
- __ CallRuntime(Runtime::kCompileForOnStackReplacement, 1); |
+ __ CallRuntime(Runtime::kCompileForOnStackReplacement); |
} |
// If the code object is null, just return to the unoptimized code. |
@@ -1377,7 +1377,7 @@ void Builtins::Generate_OsrAfterStackCheck(MacroAssembler* masm) { |
__ b(hs, &ok); |
{ |
FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); |
- __ CallRuntime(Runtime::kStackGuard, 0); |
+ __ CallRuntime(Runtime::kStackGuard); |
} |
__ Jump(masm->isolate()->builtins()->OnStackReplacement(), |
RelocInfo::CODE_TARGET); |
@@ -1448,7 +1448,7 @@ void Builtins::Generate_FunctionPrototypeApply(MacroAssembler* masm) { |
__ bind(&receiver_not_callable); |
{ |
__ str(r1, MemOperand(sp, 0)); |
- __ TailCallRuntime(Runtime::kThrowApplyNonFunction, 1); |
+ __ TailCallRuntime(Runtime::kThrowApplyNonFunction); |
} |
} |
@@ -1547,7 +1547,7 @@ void Builtins::Generate_ReflectApply(MacroAssembler* masm) { |
__ bind(&target_not_callable); |
{ |
__ str(r1, MemOperand(sp, 0)); |
- __ TailCallRuntime(Runtime::kThrowApplyNonFunction, 1); |
+ __ TailCallRuntime(Runtime::kThrowApplyNonFunction); |
} |
} |
@@ -1610,14 +1610,14 @@ void Builtins::Generate_ReflectConstruct(MacroAssembler* masm) { |
__ bind(&target_not_constructor); |
{ |
__ str(r1, MemOperand(sp, 0)); |
- __ TailCallRuntime(Runtime::kThrowCalledNonCallable, 1); |
+ __ TailCallRuntime(Runtime::kThrowCalledNonCallable); |
} |
// 4c. The new.target is not a constructor, throw an appropriate TypeError. |
__ bind(&new_target_not_constructor); |
{ |
__ str(r3, MemOperand(sp, 0)); |
- __ TailCallRuntime(Runtime::kThrowCalledNonCallable, 1); |
+ __ TailCallRuntime(Runtime::kThrowCalledNonCallable); |
} |
} |
@@ -1706,7 +1706,7 @@ void Builtins::Generate_Apply(MacroAssembler* masm) { |
{ |
FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); |
__ Push(r1, r3, r0); |
- __ CallRuntime(Runtime::kCreateListFromArrayLike, 1); |
+ __ CallRuntime(Runtime::kCreateListFromArrayLike); |
__ Pop(r1, r3); |
__ ldr(r2, FieldMemOperand(r0, FixedArray::kLengthOffset)); |
__ SmiUntag(r2); |
@@ -1756,7 +1756,7 @@ void Builtins::Generate_Apply(MacroAssembler* masm) { |
// Check if the arguments will overflow the stack. |
__ cmp(ip, Operand(r2, LSL, kPointerSizeLog2)); |
__ b(gt, &done); // Signed comparison. |
- __ TailCallRuntime(Runtime::kThrowStackOverflow, 1); |
+ __ TailCallRuntime(Runtime::kThrowStackOverflow); |
__ bind(&done); |
} |
@@ -1894,7 +1894,7 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm, |
{ |
FrameScope frame(masm, StackFrame::INTERNAL); |
__ push(r1); |
- __ CallRuntime(Runtime::kThrowConstructorNonCallableError, 1); |
+ __ CallRuntime(Runtime::kThrowConstructorNonCallableError); |
} |
} |
@@ -1938,7 +1938,7 @@ void Generate_PushBoundArguments(MacroAssembler* masm) { |
{ |
FrameScope scope(masm, StackFrame::MANUAL); |
__ EnterFrame(StackFrame::INTERNAL); |
- __ CallRuntime(Runtime::kThrowStackOverflow, 0); |
+ __ CallRuntime(Runtime::kThrowStackOverflow); |
} |
__ bind(&done); |
} |
@@ -2050,7 +2050,7 @@ void Builtins::Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode) { |
{ |
FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); |
__ Push(r1); |
- __ CallRuntime(Runtime::kThrowCalledNonCallable, 1); |
+ __ CallRuntime(Runtime::kThrowCalledNonCallable); |
} |
} |
@@ -2241,7 +2241,7 @@ void Builtins::Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm) { |
{ |
FrameScope frame(masm, StackFrame::MANUAL); |
EnterArgumentsAdaptorFrame(masm); |
- __ CallRuntime(Runtime::kThrowStrongModeTooFewArguments, 0); |
+ __ CallRuntime(Runtime::kThrowStrongModeTooFewArguments); |
} |
__ bind(&no_strong_error); |
@@ -2313,7 +2313,7 @@ void Builtins::Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm) { |
__ bind(&stack_overflow); |
{ |
FrameScope frame(masm, StackFrame::MANUAL); |
- __ CallRuntime(Runtime::kThrowStackOverflow, 0); |
+ __ CallRuntime(Runtime::kThrowStackOverflow); |
__ bkpt(0); |
} |
} |