Index: src/x87/builtins-x87.cc |
diff --git a/src/x87/builtins-x87.cc b/src/x87/builtins-x87.cc |
index 8a6817971c98a30fd416c60cf1514bcbe9f354d0..bf6162f7899bb63e8058cbfc93d02fe9567be910 100644 |
--- a/src/x87/builtins-x87.cc |
+++ b/src/x87/builtins-x87.cc |
@@ -241,7 +241,7 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm, |
// an argument to the runtime call. |
__ push(ebx); |
__ push(eax); // initial map |
- __ CallRuntime(Runtime::kFinalizeInstanceSize, 1); |
+ __ CallRuntime(Runtime::kFinalizeInstanceSize); |
__ pop(ebx); |
// Continue with JSObject being successfully allocated |
@@ -269,7 +269,7 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm, |
__ mov(edi, Operand(esp, offset)); |
__ push(edi); // constructor function |
__ push(edx); // new target |
- __ CallRuntime(Runtime::kNewObject, 2); |
+ __ CallRuntime(Runtime::kNewObject); |
__ mov(ebx, eax); // store result in ebx |
// New object allocated. |
@@ -389,7 +389,7 @@ void Builtins::Generate_JSBuiltinsConstructStub(MacroAssembler* masm) { |
void Builtins::Generate_ConstructedNonConstructable(MacroAssembler* masm) { |
FrameScope scope(masm, StackFrame::INTERNAL); |
__ push(edi); |
- __ CallRuntime(Runtime::kThrowConstructedNonConstructable, 1); |
+ __ CallRuntime(Runtime::kThrowConstructedNonConstructable); |
} |
@@ -422,7 +422,7 @@ static void Generate_CheckStackOverflow(MacroAssembler* masm, |
__ j(greater, &okay); // Signed comparison. |
// Out of stack space. |
- __ CallRuntime(Runtime::kThrowStackOverflow, 0); |
+ __ CallRuntime(Runtime::kThrowStackOverflow); |
__ bind(&okay); |
} |
@@ -559,7 +559,7 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
ExternalReference::address_of_real_stack_limit(masm->isolate()); |
__ cmp(ecx, Operand::StaticVariable(stack_limit)); |
__ j(above_equal, &ok); |
- __ CallRuntime(Runtime::kThrowStackOverflow, 0); |
+ __ CallRuntime(Runtime::kThrowStackOverflow); |
__ bind(&ok); |
// If ok, push undefined as the initial value for all register file entries. |
@@ -591,7 +591,7 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
__ cmp(esp, Operand::StaticVariable(stack_limit)); |
__ j(above_equal, &ok); |
__ push(kInterpreterBytecodeArrayRegister); |
- __ CallRuntime(Runtime::kStackGuard, 0); |
+ __ CallRuntime(Runtime::kStackGuard); |
__ pop(kInterpreterBytecodeArrayRegister); |
__ bind(&ok); |
} |
@@ -749,7 +749,7 @@ static void Generate_InterpreterNotifyDeoptimizedHelper( |
// Pass the deoptimization type to the runtime system. |
__ Push(Smi::FromInt(static_cast<int>(type))); |
- __ CallRuntime(Runtime::kNotifyDeoptimized, 1); |
+ __ CallRuntime(Runtime::kNotifyDeoptimized); |
__ Pop(kInterpreterAccumulatorRegister); // Restore accumulator register. |
// Tear down internal frame. |
@@ -932,7 +932,7 @@ static void Generate_NotifyStubFailureHelper(MacroAssembler* masm, |
// stubs that tail call the runtime on deopts passing their parameters in |
// registers. |
__ pushad(); |
- __ CallRuntime(Runtime::kNotifyStubFailure, 0, save_doubles); |
+ __ CallRuntime(Runtime::kNotifyStubFailure, save_doubles); |
__ popad(); |
// Tear down internal frame. |
} |
@@ -959,7 +959,7 @@ static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm, |
// Pass deoptimization type to the runtime system. |
__ push(Immediate(Smi::FromInt(static_cast<int>(type)))); |
- __ CallRuntime(Runtime::kNotifyDeoptimized, 1); |
+ __ CallRuntime(Runtime::kNotifyDeoptimized); |
// Tear down internal frame. |
} |
@@ -1072,7 +1072,7 @@ void Builtins::Generate_FunctionPrototypeApply(MacroAssembler* masm) { |
__ bind(&receiver_not_callable); |
{ |
__ mov(Operand(esp, kPointerSize), edi); |
- __ TailCallRuntime(Runtime::kThrowApplyNonFunction, 1); |
+ __ TailCallRuntime(Runtime::kThrowApplyNonFunction); |
} |
} |
@@ -1181,7 +1181,7 @@ void Builtins::Generate_ReflectApply(MacroAssembler* masm) { |
__ bind(&target_not_callable); |
{ |
__ mov(Operand(esp, kPointerSize), edi); |
- __ TailCallRuntime(Runtime::kThrowApplyNonFunction, 1); |
+ __ TailCallRuntime(Runtime::kThrowApplyNonFunction); |
} |
} |
@@ -1251,14 +1251,14 @@ void Builtins::Generate_ReflectConstruct(MacroAssembler* masm) { |
__ bind(&target_not_constructor); |
{ |
__ mov(Operand(esp, kPointerSize), edi); |
- __ TailCallRuntime(Runtime::kThrowCalledNonCallable, 1); |
+ __ TailCallRuntime(Runtime::kThrowCalledNonCallable); |
} |
// 4c. The new.target is not a constructor, throw an appropriate TypeError. |
__ bind(&new_target_not_constructor); |
{ |
__ mov(Operand(esp, kPointerSize), edx); |
- __ TailCallRuntime(Runtime::kThrowCalledNonCallable, 1); |
+ __ TailCallRuntime(Runtime::kThrowCalledNonCallable); |
} |
} |
@@ -1377,7 +1377,7 @@ void Builtins::Generate_StringConstructor(MacroAssembler* masm) { |
__ PopReturnAddressTo(ecx); |
__ Push(eax); |
__ PushReturnAddressFrom(ecx); |
- __ TailCallRuntime(Runtime::kSymbolDescriptiveString, 1); |
+ __ TailCallRuntime(Runtime::kSymbolDescriptiveString); |
} |
} |
@@ -1463,7 +1463,7 @@ void Builtins::Generate_StringConstructor_ConstructStub(MacroAssembler* masm) { |
__ Push(ebx); // the first argument |
__ Push(edi); // constructor function |
__ Push(edx); // new target |
- __ CallRuntime(Runtime::kNewObject, 2); |
+ __ CallRuntime(Runtime::kNewObject); |
__ Pop(FieldOperand(eax, JSValue::kValueOffset)); |
} |
__ Ret(); |
@@ -1569,7 +1569,7 @@ void Builtins::Generate_Apply(MacroAssembler* masm) { |
__ Push(edi); |
__ Push(edx); |
__ Push(eax); |
- __ CallRuntime(Runtime::kCreateListFromArrayLike, 1); |
+ __ CallRuntime(Runtime::kCreateListFromArrayLike); |
__ Pop(edx); |
__ Pop(edi); |
__ mov(ebx, FieldOperand(eax, FixedArray::kLengthOffset)); |
@@ -1623,7 +1623,7 @@ void Builtins::Generate_Apply(MacroAssembler* masm) { |
// Check if the arguments will overflow the stack. |
__ cmp(ecx, ebx); |
__ j(greater, &done, Label::kNear); // Signed comparison. |
- __ TailCallRuntime(Runtime::kThrowStackOverflow, 1); |
+ __ TailCallRuntime(Runtime::kThrowStackOverflow); |
__ bind(&done); |
} |
@@ -1774,7 +1774,7 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm, |
{ |
FrameScope frame(masm, StackFrame::INTERNAL); |
__ push(edi); |
- __ CallRuntime(Runtime::kThrowConstructorNonCallableError, 1); |
+ __ CallRuntime(Runtime::kThrowConstructorNonCallableError); |
} |
} |
@@ -1819,7 +1819,7 @@ void Generate_PushBoundArguments(MacroAssembler* masm) { |
{ |
FrameScope scope(masm, StackFrame::MANUAL); |
__ EnterFrame(StackFrame::INTERNAL); |
- __ CallRuntime(Runtime::kThrowStackOverflow, 0); |
+ __ CallRuntime(Runtime::kThrowStackOverflow); |
} |
__ bind(&done); |
} |
@@ -1939,7 +1939,7 @@ void Builtins::Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode) { |
{ |
FrameScope scope(masm, StackFrame::INTERNAL); |
__ Push(edi); |
- __ CallRuntime(Runtime::kThrowCalledNonCallable, 1); |
+ __ CallRuntime(Runtime::kThrowCalledNonCallable); |
} |
} |
@@ -2126,7 +2126,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); |
@@ -2192,7 +2192,7 @@ void Builtins::Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm) { |
__ bind(&stack_overflow); |
{ |
FrameScope frame(masm, StackFrame::MANUAL); |
- __ CallRuntime(Runtime::kThrowStackOverflow, 0); |
+ __ CallRuntime(Runtime::kThrowStackOverflow); |
__ int3(); |
} |
} |
@@ -2321,7 +2321,7 @@ void Builtins::Generate_HandleFastApiCall(MacroAssembler* masm) { |
__ PushReturnAddressFrom(ebx); |
{ |
FrameScope scope(masm, StackFrame::INTERNAL); |
- __ TailCallRuntime(Runtime::kThrowIllegalInvocation, 0); |
+ __ TailCallRuntime(Runtime::kThrowIllegalInvocation); |
} |
} |
@@ -2333,7 +2333,7 @@ void Builtins::Generate_OnStackReplacement(MacroAssembler* masm) { |
FrameScope scope(masm, StackFrame::INTERNAL); |
// Pass function as argument. |
__ push(eax); |
- __ CallRuntime(Runtime::kCompileForOnStackReplacement, 1); |
+ __ CallRuntime(Runtime::kCompileForOnStackReplacement); |
} |
Label skip; |
@@ -2372,7 +2372,7 @@ void Builtins::Generate_OsrAfterStackCheck(MacroAssembler* masm) { |
__ j(above_equal, &ok, Label::kNear); |
{ |
FrameScope scope(masm, StackFrame::INTERNAL); |
- __ CallRuntime(Runtime::kStackGuard, 0); |
+ __ CallRuntime(Runtime::kStackGuard); |
} |
__ jmp(masm->isolate()->builtins()->OnStackReplacement(), |
RelocInfo::CODE_TARGET); |