|
[turbofan] Add MachineType to LinkageLocation
By adding MachineType to LinkageLocation, it is possible not only to reason
about the location of a LinkageLocation on the stack, but also about it's
size. This will be useful in follow-on CLs that attempt to merge some of the
parameter passing logic of tail calls and normal (non-tail) calls.
As a nice side-effect, it is no longer necessary to separately keep a
MachineSignature in a CallDescriptor, because the MachineTypes contianed in
LinkageLocation for all of the Descriptor's parameters and return types are
sufficient. This CL therefore removes the MachineSignature from the
CallDescriptor and adjusts all the calling code accordingly, simplifying and
de-duplicating code in a bunch of places.
R=titzer@chromium.org, bmeurer@chromium.org
LOG=N
Committed: https://crrev.com/3e2085eba411515969e988d55fa8767e1d05f714
Cr-Commit-Position: refs/heads/master@{#37633}
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+246 lines, -292 lines) |
Patch |
|
M |
src/compiler/arm/instruction-selector-arm.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/c-linkage.cc
|
View
|
|
5 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/compiler/ia32/instruction-selector-ia32.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/instruction-selector.cc
|
View
|
1
|
7 chunks |
+15 lines, -23 lines |
0 comments
|
Download
|
|
M |
src/compiler/instruction-selector-impl.h
|
View
|
|
5 chunks |
+9 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/compiler/linkage.h
|
View
|
1
2
3
|
10 chunks |
+45 lines, -25 lines |
0 comments
|
Download
|
|
M |
src/compiler/linkage.cc
|
View
|
1
2
3
|
12 chunks |
+72 lines, -76 lines |
0 comments
|
Download
|
|
M |
src/compiler/mips/instruction-selector-mips.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/mips64/instruction-selector-mips64.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/ppc/instruction-selector-ppc.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/raw-machine-assembler.h
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
src/compiler/raw-machine-assembler.cc
|
View
|
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/compiler/s390/instruction-selector-s390.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/simplified-lowering.cc
|
View
|
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/compiler/wasm-linkage.cc
|
View
|
1
2
3
|
9 chunks |
+30 lines, -44 lines |
0 comments
|
Download
|
|
M |
src/compiler/x64/instruction-selector-x64.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/x87/instruction-selector-x87.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/compiler/test-multiple-return.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
|
M |
test/cctest/compiler/test-run-machops.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/compiler/test-run-native-calls.cc
|
View
|
1
|
6 chunks |
+8 lines, -11 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/effect-control-linearizer-unittest.cc
|
View
|
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/instruction-selector-unittest.h
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/linkage-tail-call-unittest.cc
|
View
|
|
1 chunk |
+12 lines, -15 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/tail-call-optimization-unittest.cc
|
View
|
|
6 chunks |
+19 lines, -32 lines |
0 comments
|
Download
|
Total messages: 14 (6 generated)
|