|
[turbofan] Initial support for constructor call inlining.
This implements a first version of support for constructor call inlining
in the inlining machinery. For now we can only inline calls where the
actual constructor and the original constructor coincide (i.e. no super
constructor calls). Note that the target of a super constructor call is
loaded with a runtime call, so there is no way for it to be constant
promoted at the moment.
R=bmeurer@chromium.org
BUG= v8:4544
LOG=n
Committed: https://crrev.com/11d5d09ce16de756bd36babf7b4d22f81f490044
Cr-Commit-Position: refs/heads/master@{#31954}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+167 lines, -72 lines) |
Patch |
|
M |
src/compiler/ast-graph-builder.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/code-generator.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/frame-states.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/frame-states.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-generic-lowering.cc
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/js-inlining.h
|
View
|
1
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-inlining.cc
|
View
|
1
|
7 chunks |
+99 lines, -44 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-inlining-heuristic.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+12 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-operator.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/linkage.cc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/opcodes.h
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-function.cc
|
View
|
1
2
3
|
2 chunks |
+17 lines, -7 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/mjsunit.status
|
View
|
1
2
3
4
5
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
test/unittests/compiler/js-operator-unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 7 (2 generated)
|