|
[compiler] Remove CodeStub from CompilationInfo
The motivation for this is that CompilationInfo really shouldn't
explicitly know anything about CodeStubs. This is evident in
the TurboFan stubs pipeline, which only needs to pass down
information about Code::Flags to the code generator and not
any of the CallInterfaceDescriptor silliness that Hydrogen has
to push around, since TF has the Linkage class that
encapsulates everything that is needed for the stub ABI. So,
instead of threading CodeStub machinery through the TF stub
pipeline, it is now removed from CompilationInfo and replaced
by only the explicit bits needed both by the Crankshaft and
TF pipelines in code generation.
Committed: https://crrev.com/d1d0196473e6919b222bf98a9fd9093805a5c5bc
Cr-Commit-Position: refs/heads/master@{#33410}
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+115 lines, -133 lines) |
Patch |
|
M |
src/code-stubs.h
|
View
|
1
2
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
src/code-stubs.cc
|
View
|
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
src/code-stubs-hydrogen.cc
|
View
|
1
2
|
7 chunks |
+20 lines, -16 lines |
0 comments
|
Download
|
|
M |
src/codegen.cc
|
View
|
1
|
1 chunk |
+1 line, -10 lines |
0 comments
|
Download
|
|
M |
src/compiler.h
|
View
|
1
2
3
4
|
7 chunks |
+12 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/compiler.cc
|
View
|
1
2
|
3 chunks |
+8 lines, -26 lines |
0 comments
|
Download
|
|
M |
src/compiler/code-stub-assembler.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/compiler/code-stub-assembler.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/compiler/fast-accessor-assembler.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/interpreter-assembler.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/compiler/linkage.cc
|
View
|
1
2
|
1 chunk |
+1 line, -8 lines |
0 comments
|
Download
|
|
M |
src/compiler/pipeline.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/pipeline.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/compiler/wasm-compiler.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/arm/lithium-arm.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/arm64/lithium-arm64.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/hydrogen.h
|
View
|
1
2
|
4 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/hydrogen.cc
|
View
|
1
2
|
5 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/ia32/lithium-ia32.cc
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/mips/lithium-mips.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/mips64/lithium-mips64.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/ppc/lithium-ppc.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/x64/lithium-x64.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
test/cctest/compiler/test-code-stub-assembler.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/compiler/test-linkage.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
|
M |
test/cctest/compiler/test-run-stubs.cc
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
Total messages: 15 (8 generated)
|