Rename arguments object support functions to new scheme.

R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/338883003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21875 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
mstarzinger@chromium.org 2014-06-17 14:10:16 +00:00
parent 11368af66d
commit 46d36e81b4
8 changed files with 22 additions and 22 deletions

View File

@ -2058,7 +2058,7 @@ void ArgumentsAccessStub::GenerateNewSloppySlow(MacroAssembler* masm) {
__ str(r3, MemOperand(sp, 1 * kPointerSize));
__ bind(&runtime);
__ TailCallRuntime(Runtime::kHiddenNewArgumentsFast, 3, 1);
__ TailCallRuntime(Runtime::kHiddenNewSloppyArguments, 3, 1);
}
@ -2262,7 +2262,7 @@ void ArgumentsAccessStub::GenerateNewSloppyFast(MacroAssembler* masm) {
// r2 = argument count (tagged)
__ bind(&runtime);
__ str(r2, MemOperand(sp, 0 * kPointerSize)); // Patch argument count.
__ TailCallRuntime(Runtime::kHiddenNewArgumentsFast, 3, 1);
__ TailCallRuntime(Runtime::kHiddenNewSloppyArguments, 3, 1);
}
@ -2356,7 +2356,7 @@ void ArgumentsAccessStub::GenerateNewStrict(MacroAssembler* masm) {
// Do the runtime call to allocate the arguments object.
__ bind(&runtime);
__ TailCallRuntime(Runtime::kHiddenNewStrictArgumentsFast, 3, 1);
__ TailCallRuntime(Runtime::kHiddenNewStrictArguments, 3, 1);
}

View File

@ -2121,7 +2121,7 @@ void ArgumentsAccessStub::GenerateNewSloppySlow(MacroAssembler* masm) {
__ Poke(x10, 1 * kXRegSize);
__ Bind(&runtime);
__ TailCallRuntime(Runtime::kHiddenNewArgumentsFast, 3, 1);
__ TailCallRuntime(Runtime::kHiddenNewSloppyArguments, 3, 1);
}
@ -2393,7 +2393,7 @@ void ArgumentsAccessStub::GenerateNewSloppyFast(MacroAssembler* masm) {
// Do the runtime call to allocate the arguments object.
__ Bind(&runtime);
__ Push(function, recv_arg, arg_count_smi);
__ TailCallRuntime(Runtime::kHiddenNewArgumentsFast, 3, 1);
__ TailCallRuntime(Runtime::kHiddenNewSloppyArguments, 3, 1);
}
@ -2526,7 +2526,7 @@ void ArgumentsAccessStub::GenerateNewStrict(MacroAssembler* masm) {
// Do the runtime call to allocate the arguments object.
__ Bind(&runtime);
__ Push(function, params, param_count_smi);
__ TailCallRuntime(Runtime::kHiddenNewStrictArgumentsFast, 3, 1);
__ TailCallRuntime(Runtime::kHiddenNewStrictArguments, 3, 1);
}

View File

@ -1098,7 +1098,7 @@ void ArgumentsAccessStub::GenerateNewSloppySlow(MacroAssembler* masm) {
__ mov(Operand(esp, 2 * kPointerSize), edx);
__ bind(&runtime);
__ TailCallRuntime(Runtime::kHiddenNewArgumentsFast, 3, 1);
__ TailCallRuntime(Runtime::kHiddenNewSloppyArguments, 3, 1);
}
@ -1321,7 +1321,7 @@ void ArgumentsAccessStub::GenerateNewSloppyFast(MacroAssembler* masm) {
__ bind(&runtime);
__ pop(eax); // Remove saved parameter count.
__ mov(Operand(esp, 1 * kPointerSize), ecx); // Patch argument count.
__ TailCallRuntime(Runtime::kHiddenNewArgumentsFast, 3, 1);
__ TailCallRuntime(Runtime::kHiddenNewSloppyArguments, 3, 1);
}
@ -1418,7 +1418,7 @@ void ArgumentsAccessStub::GenerateNewStrict(MacroAssembler* masm) {
// Do the runtime call to allocate the arguments object.
__ bind(&runtime);
__ TailCallRuntime(Runtime::kHiddenNewStrictArgumentsFast, 3, 1);
__ TailCallRuntime(Runtime::kHiddenNewStrictArguments, 3, 1);
}

View File

@ -2178,7 +2178,7 @@ void ArgumentsAccessStub::GenerateNewSloppySlow(MacroAssembler* masm) {
__ sw(a3, MemOperand(sp, 1 * kPointerSize));
__ bind(&runtime);
__ TailCallRuntime(Runtime::kHiddenNewArgumentsFast, 3, 1);
__ TailCallRuntime(Runtime::kHiddenNewSloppyArguments, 3, 1);
}
@ -2397,7 +2397,7 @@ void ArgumentsAccessStub::GenerateNewSloppyFast(MacroAssembler* masm) {
// a2 = argument count (tagged)
__ bind(&runtime);
__ sw(a2, MemOperand(sp, 0 * kPointerSize)); // Patch argument count.
__ TailCallRuntime(Runtime::kHiddenNewArgumentsFast, 3, 1);
__ TailCallRuntime(Runtime::kHiddenNewSloppyArguments, 3, 1);
}
@ -2495,7 +2495,7 @@ void ArgumentsAccessStub::GenerateNewStrict(MacroAssembler* masm) {
// Do the runtime call to allocate the arguments object.
__ bind(&runtime);
__ TailCallRuntime(Runtime::kHiddenNewStrictArgumentsFast, 3, 1);
__ TailCallRuntime(Runtime::kHiddenNewStrictArguments, 3, 1);
}

View File

@ -7994,7 +7994,7 @@ RUNTIME_FUNCTION(Runtime_DateSetValue) {
}
RUNTIME_FUNCTION(RuntimeHidden_NewArgumentsFast) {
RUNTIME_FUNCTION(RuntimeHidden_NewSloppyArguments) {
HandleScope scope(isolate);
ASSERT(args.length() == 3);
@ -8088,7 +8088,7 @@ RUNTIME_FUNCTION(RuntimeHidden_NewArgumentsFast) {
}
RUNTIME_FUNCTION(RuntimeHidden_NewStrictArgumentsFast) {
RUNTIME_FUNCTION(RuntimeHidden_NewStrictArguments) {
HandleScope scope(isolate);
ASSERT(args.length() == 3);
CONVERT_ARG_HANDLE_CHECKED(JSFunction, callee, 0)

View File

@ -553,8 +553,8 @@ namespace internal {
F(NumberToSmi, 1, 1) \
F(NumberToStringSkipCache, 1, 1) \
\
F(NewArgumentsFast, 3, 1) \
F(NewStrictArgumentsFast, 3, 1) \
F(NewSloppyArguments, 3, 1) \
F(NewStrictArguments, 3, 1) \
\
/* Harmony generators */ \
F(CreateJSGeneratorObject, 0, 1) \

View File

@ -1173,7 +1173,7 @@ void ArgumentsAccessStub::GenerateNewSloppyFast(MacroAssembler* masm) {
__ bind(&runtime);
__ Integer32ToSmi(rcx, rcx);
__ movp(args.GetArgumentOperand(2), rcx); // Patch argument count.
__ TailCallRuntime(Runtime::kHiddenNewArgumentsFast, 3, 1);
__ TailCallRuntime(Runtime::kHiddenNewSloppyArguments, 3, 1);
}
@ -1200,7 +1200,7 @@ void ArgumentsAccessStub::GenerateNewSloppySlow(MacroAssembler* masm) {
__ movp(args.GetArgumentOperand(1), rdx);
__ bind(&runtime);
__ TailCallRuntime(Runtime::kHiddenNewArgumentsFast, 3, 1);
__ TailCallRuntime(Runtime::kHiddenNewSloppyArguments, 3, 1);
}
@ -1301,7 +1301,7 @@ void ArgumentsAccessStub::GenerateNewStrict(MacroAssembler* masm) {
// Do the runtime call to allocate the arguments object.
__ bind(&runtime);
__ TailCallRuntime(Runtime::kHiddenNewStrictArgumentsFast, 3, 1);
__ TailCallRuntime(Runtime::kHiddenNewStrictArguments, 3, 1);
}

View File

@ -771,7 +771,7 @@ void ArgumentsAccessStub::GenerateNewSloppySlow(MacroAssembler* masm) {
__ mov(Operand(esp, 2 * kPointerSize), edx);
__ bind(&runtime);
__ TailCallRuntime(Runtime::kHiddenNewArgumentsFast, 3, 1);
__ TailCallRuntime(Runtime::kHiddenNewSloppyArguments, 3, 1);
}
@ -994,7 +994,7 @@ void ArgumentsAccessStub::GenerateNewSloppyFast(MacroAssembler* masm) {
__ bind(&runtime);
__ pop(eax); // Remove saved parameter count.
__ mov(Operand(esp, 1 * kPointerSize), ecx); // Patch argument count.
__ TailCallRuntime(Runtime::kHiddenNewArgumentsFast, 3, 1);
__ TailCallRuntime(Runtime::kHiddenNewSloppyArguments, 3, 1);
}
@ -1091,7 +1091,7 @@ void ArgumentsAccessStub::GenerateNewStrict(MacroAssembler* masm) {
// Do the runtime call to allocate the arguments object.
__ bind(&runtime);
__ TailCallRuntime(Runtime::kHiddenNewStrictArgumentsFast, 3, 1);
__ TailCallRuntime(Runtime::kHiddenNewStrictArguments, 3, 1);
}