| Index: src/ppc/builtins-ppc.cc
|
| diff --git a/src/ppc/builtins-ppc.cc b/src/ppc/builtins-ppc.cc
|
| index 2223efe255f60eeeb8be629b49b12596a8748a17..1266849647a0270d8b1565aa8ef67e29475b0c77 100644
|
| --- a/src/ppc/builtins-ppc.cc
|
| +++ b/src/ppc/builtins-ppc.cc
|
| @@ -187,7 +187,7 @@ void Builtins::Generate_StringConstructor(MacroAssembler* masm) {
|
| __ bind(&symbol_descriptive_string);
|
| {
|
| __ Push(r3);
|
| - __ TailCallRuntime(Runtime::kSymbolDescriptiveString, 1);
|
| + __ TailCallRuntime(Runtime::kSymbolDescriptiveString);
|
| }
|
| }
|
|
|
| @@ -270,7 +270,7 @@ void Builtins::Generate_StringConstructor_ConstructStub(MacroAssembler* masm) {
|
| {
|
| FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL);
|
| __ Push(r5, r4, r6); // first argument, constructor, new target
|
| - __ CallRuntime(Runtime::kNewObject, 2);
|
| + __ CallRuntime(Runtime::kNewObject);
|
| __ Pop(r5);
|
| }
|
| __ StoreP(r5, FieldMemOperand(r3, JSValue::kValueOffset), r0);
|
| @@ -456,7 +456,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(r4, r6, r7, r5);
|
| - __ CallRuntime(Runtime::kFinalizeInstanceSize, 1);
|
| + __ CallRuntime(Runtime::kFinalizeInstanceSize);
|
| __ Pop(r4, r6, r7);
|
|
|
| // Continue with JSObject being successfully allocated
|
| @@ -485,7 +485,7 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm,
|
| // Push the constructor and new_target twice, second pair as arguments
|
| // to the runtime call.
|
| __ Push(r4, r6, r4, r6);
|
| - __ CallRuntime(Runtime::kNewObject, 2);
|
| + __ CallRuntime(Runtime::kNewObject);
|
| __ mr(r7, r3);
|
| __ Pop(r4, r6);
|
|
|
| @@ -618,7 +618,7 @@ void Builtins::Generate_JSBuiltinsConstructStub(MacroAssembler* masm) {
|
| void Builtins::Generate_ConstructedNonConstructable(MacroAssembler* masm) {
|
| FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL);
|
| __ push(r4);
|
| - __ CallRuntime(Runtime::kThrowConstructedNonConstructable, 1);
|
| + __ CallRuntime(Runtime::kThrowConstructedNonConstructable);
|
| }
|
|
|
|
|
| @@ -647,7 +647,7 @@ static void Generate_CheckStackOverflow(MacroAssembler* masm, Register argc,
|
| __ bgt(&okay); // Signed comparison.
|
|
|
| // Out of stack space.
|
| - __ CallRuntime(Runtime::kThrowStackOverflow, 0);
|
| + __ CallRuntime(Runtime::kThrowStackOverflow);
|
|
|
| __ bind(&okay);
|
| }
|
| @@ -800,7 +800,7 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) {
|
| __ LoadRoot(r0, Heap::kRealStackLimitRootIndex);
|
| __ cmpl(r6, r0);
|
| __ bge(&ok);
|
| - __ CallRuntime(Runtime::kThrowStackOverflow, 0);
|
| + __ CallRuntime(Runtime::kThrowStackOverflow);
|
| __ bind(&ok);
|
|
|
| // If ok, push undefined as the initial value for all register file entries.
|
| @@ -830,7 +830,7 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) {
|
| __ cmp(sp, r0);
|
| __ bge(&ok);
|
| __ push(kInterpreterBytecodeArrayRegister);
|
| - __ CallRuntime(Runtime::kStackGuard, 0);
|
| + __ CallRuntime(Runtime::kStackGuard);
|
| __ pop(kInterpreterBytecodeArrayRegister);
|
| __ bind(&ok);
|
| }
|
| @@ -946,7 +946,7 @@ static void Generate_InterpreterNotifyDeoptimizedHelper(
|
| // the runtime system.
|
| __ LoadSmiLiteral(r4, Smi::FromInt(static_cast<int>(type)));
|
| __ Push(kInterpreterAccumulatorRegister, r4);
|
| - __ CallRuntime(Runtime::kNotifyDeoptimized, 1);
|
| + __ CallRuntime(Runtime::kNotifyDeoptimized);
|
| __ pop(kInterpreterAccumulatorRegister); // Restore accumulator register.
|
| // Tear down internal frame.
|
| }
|
| @@ -1139,7 +1139,7 @@ static void Generate_NotifyStubFailureHelper(MacroAssembler* masm,
|
| // registers.
|
| __ MultiPush(kJSCallerSaved | kCalleeSaved);
|
| // Pass the function and deoptimization type to the runtime system.
|
| - __ CallRuntime(Runtime::kNotifyStubFailure, 0, save_doubles);
|
| + __ CallRuntime(Runtime::kNotifyStubFailure, save_doubles);
|
| __ MultiPop(kJSCallerSaved | kCalleeSaved);
|
| }
|
|
|
| @@ -1165,7 +1165,7 @@ static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm,
|
| // Pass the function and deoptimization type to the runtime system.
|
| __ LoadSmiLiteral(r3, Smi::FromInt(static_cast<int>(type)));
|
| __ push(r3);
|
| - __ CallRuntime(Runtime::kNotifyDeoptimized, 1);
|
| + __ CallRuntime(Runtime::kNotifyDeoptimized);
|
| }
|
|
|
| // Get the full codegen state from the stack and untag it -> r9.
|
| @@ -1320,7 +1320,7 @@ void Builtins::Generate_HandleFastApiCall(MacroAssembler* masm) {
|
| // Drop the arguments (including the receiver);
|
| __ addi(r11, r11, Operand(kPointerSize));
|
| __ add(sp, sp, r11);
|
| - __ TailCallRuntime(Runtime::kThrowIllegalInvocation, 0);
|
| + __ TailCallRuntime(Runtime::kThrowIllegalInvocation);
|
| }
|
|
|
|
|
| @@ -1331,7 +1331,7 @@ void Builtins::Generate_OnStackReplacement(MacroAssembler* masm) {
|
| FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL);
|
| // Pass function as argument.
|
| __ push(r3);
|
| - __ CallRuntime(Runtime::kCompileForOnStackReplacement, 1);
|
| + __ CallRuntime(Runtime::kCompileForOnStackReplacement);
|
| }
|
|
|
| // If the code object is null, just return to the unoptimized code.
|
| @@ -1379,7 +1379,7 @@ void Builtins::Generate_OsrAfterStackCheck(MacroAssembler* masm) {
|
| __ bge(&ok);
|
| {
|
| FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL);
|
| - __ CallRuntime(Runtime::kStackGuard, 0);
|
| + __ CallRuntime(Runtime::kStackGuard);
|
| }
|
| __ Jump(masm->isolate()->builtins()->OnStackReplacement(),
|
| RelocInfo::CODE_TARGET);
|
| @@ -1457,7 +1457,7 @@ void Builtins::Generate_FunctionPrototypeApply(MacroAssembler* masm) {
|
| __ bind(&receiver_not_callable);
|
| {
|
| __ StoreP(r4, MemOperand(sp, 0));
|
| - __ TailCallRuntime(Runtime::kThrowApplyNonFunction, 1);
|
| + __ TailCallRuntime(Runtime::kThrowApplyNonFunction);
|
| }
|
| }
|
|
|
| @@ -1566,7 +1566,7 @@ void Builtins::Generate_ReflectApply(MacroAssembler* masm) {
|
| __ bind(&target_not_callable);
|
| {
|
| __ StoreP(r4, MemOperand(sp, 0));
|
| - __ TailCallRuntime(Runtime::kThrowApplyNonFunction, 1);
|
| + __ TailCallRuntime(Runtime::kThrowApplyNonFunction);
|
| }
|
| }
|
|
|
| @@ -1637,14 +1637,14 @@ void Builtins::Generate_ReflectConstruct(MacroAssembler* masm) {
|
| __ bind(&target_not_constructor);
|
| {
|
| __ StoreP(r4, 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);
|
| {
|
| __ StoreP(r6, MemOperand(sp, 0));
|
| - __ TailCallRuntime(Runtime::kThrowCalledNonCallable, 1);
|
| + __ TailCallRuntime(Runtime::kThrowCalledNonCallable);
|
| }
|
| }
|
|
|
| @@ -1738,7 +1738,7 @@ void Builtins::Generate_Apply(MacroAssembler* masm) {
|
| {
|
| FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL);
|
| __ Push(r4, r6, r3);
|
| - __ CallRuntime(Runtime::kCreateListFromArrayLike, 1);
|
| + __ CallRuntime(Runtime::kCreateListFromArrayLike);
|
| __ Pop(r4, r6);
|
| __ LoadP(r5, FieldMemOperand(r3, FixedArray::kLengthOffset));
|
| __ SmiUntag(r5);
|
| @@ -1789,7 +1789,7 @@ void Builtins::Generate_Apply(MacroAssembler* masm) {
|
| __ ShiftLeftImm(r0, r5, Operand(kPointerSizeLog2));
|
| __ cmp(ip, r0); // Signed comparison.
|
| __ bgt(&done);
|
| - __ TailCallRuntime(Runtime::kThrowStackOverflow, 1);
|
| + __ TailCallRuntime(Runtime::kThrowStackOverflow);
|
| __ bind(&done);
|
| }
|
|
|
| @@ -1928,7 +1928,7 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm,
|
| {
|
| FrameAndConstantPoolScope frame(masm, StackFrame::INTERNAL);
|
| __ push(r4);
|
| - __ CallRuntime(Runtime::kThrowConstructorNonCallableError, 1);
|
| + __ CallRuntime(Runtime::kThrowConstructorNonCallableError);
|
| }
|
| }
|
|
|
| @@ -1979,7 +1979,7 @@ void Builtins::Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode) {
|
| {
|
| FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL);
|
| __ Push(r4);
|
| - __ CallRuntime(Runtime::kThrowCalledNonCallable, 1);
|
| + __ CallRuntime(Runtime::kThrowCalledNonCallable);
|
| }
|
| }
|
|
|
| @@ -2150,7 +2150,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);
|
| @@ -2225,7 +2225,7 @@ void Builtins::Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm) {
|
| __ bind(&stack_overflow);
|
| {
|
| FrameScope frame(masm, StackFrame::MANUAL);
|
| - __ CallRuntime(Runtime::kThrowStackOverflow, 0);
|
| + __ CallRuntime(Runtime::kThrowStackOverflow);
|
| __ bkpt(0);
|
| }
|
| }
|
|
|