|
[turbofan] [deoptimizer] Support inlining of ES6 tail calls.
In case when F was called with incompatible number of arguments (and therefore
the arguments adator frame was created), F inlines a tail call of G which then
deopts the deoptimizer should also remove the arguments adaptor frame for F.
This CL adds required machinery to the deoptimizer.
BUG= v8:4698
LOG=N
Committed: https://crrev.com/c29a4560bb548fa0ebeec8262f9d6fca9d50fe7a
Cr-Commit-Position: refs/heads/master@{#34610}
Total comments: 3
Total comments: 8
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+294 lines, -109 lines) |
Patch |
|
M |
src/arm/deoptimizer-arm.cc
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm64/deoptimizer-arm64.cc
|
View
|
1
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/code-generator.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/frame-states.h
|
View
|
|
1 chunk |
+1 line, -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-inlining.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/js-inlining.cc
|
View
|
1
2
3
4
|
2 chunks |
+43 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/deoptimizer.h
|
View
|
1
2
3
|
6 chunks |
+22 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/deoptimizer.cc
|
View
|
1
2
3
4
|
22 chunks |
+181 lines, -86 lines |
0 comments
|
Download
|
|
M |
src/ia32/deoptimizer-ia32.cc
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/mips/deoptimizer-mips.cc
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/mips64/deoptimizer-mips64.cc
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
1
2
3
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects-printer.cc
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-compiler.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/x64/deoptimizer-x64.cc
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
test/mjsunit/es6/tail-call-megatest.js
|
View
|
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 37 (20 generated)
|