|
[turbofan] Initial support for Array constructor specialization.
Introduce a JSCreateArray operator that represents the Array
constructor, and lower call and construct calls to the Array
constructor to JSCreateArray. Currently we don't yet replace
that with an inline allocation, but always use the specialized
stubs for the Array constructor.
This saves a lot of unnecessary deopts and elements transitions
because now we can actually consume the allocation site feedback
for the transitions.
R=mstarzinger@chromium.org
BUG= v8:4470
LOG=n
Committed: https://crrev.com/aeb41de0e64ad055a79ebd55f5d9930345500949
Cr-Commit-Position: refs/heads/master@{#32145}
Total comments: 13
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+460 lines, -41 lines) |
Patch |
|
M |
src/compiler/ast-graph-builder.cc
|
View
|
1
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/compiler/bytecode-graph-builder.cc
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-call-reducer.h
|
View
|
|
2 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-call-reducer.cc
|
View
|
1
|
10 chunks |
+147 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-generic-lowering.cc
|
View
|
1
|
3 chunks |
+31 lines, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/js-operator.h
|
View
|
1
|
5 chunks |
+54 lines, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/js-operator.cc
|
View
|
1
|
5 chunks |
+79 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-typed-lowering.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-typed-lowering.cc
|
View
|
1
|
3 chunks |
+80 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/node-properties.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/node-properties.cc
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/opcodes.h
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/operator-properties.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/pipeline.cc
|
View
|
|
3 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/compiler/typer.cc
|
View
|
1
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/verifier.cc
|
View
|
1
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/types.cc
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 9 (2 generated)
|