PPC/s390: [stubs] Port builtin for Array.push fast-case from Crankshaft to TF
Port df2578d2ec
Original Commit Message:
Improves performance in simple, single element case by 5% and in multiple
elements cases by 2%.
R=danno@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, bjaideep@ca.ibm.com, michael_dawson@ca.ibm.com
BUG=chromium:608675
LOG=N
Review-Url: https://codereview.chromium.org/2537513005
Cr-Commit-Position: refs/heads/master@{#41370}
This commit is contained in:
parent
9de556ecff
commit
f80961a782
@ -32,11 +32,6 @@ void ArrayNArgumentsConstructorStub::Generate(MacroAssembler* masm) {
|
||||
__ TailCallRuntime(Runtime::kNewArray);
|
||||
}
|
||||
|
||||
void FastArrayPushStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {
|
||||
Address deopt_handler = Runtime::FunctionForId(Runtime::kArrayPush)->entry;
|
||||
descriptor->Initialize(r3, deopt_handler, -1, JS_FUNCTION_STUB_MODE);
|
||||
}
|
||||
|
||||
void FastFunctionBindStub::InitializeDescriptor(
|
||||
CodeStubDescriptor* descriptor) {
|
||||
Address deopt_handler = Runtime::FunctionForId(Runtime::kFunctionBind)->entry;
|
||||
|
@ -32,11 +32,6 @@ void ArrayNArgumentsConstructorStub::Generate(MacroAssembler* masm) {
|
||||
__ TailCallRuntime(Runtime::kNewArray);
|
||||
}
|
||||
|
||||
void FastArrayPushStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {
|
||||
Address deopt_handler = Runtime::FunctionForId(Runtime::kArrayPush)->entry;
|
||||
descriptor->Initialize(r2, deopt_handler, -1, JS_FUNCTION_STUB_MODE);
|
||||
}
|
||||
|
||||
void FastFunctionBindStub::InitializeDescriptor(
|
||||
CodeStubDescriptor* descriptor) {
|
||||
Address deopt_handler = Runtime::FunctionForId(Runtime::kFunctionBind)->entry;
|
||||
|
Loading…
Reference in New Issue
Block a user