|
[RegisterConfiguration] Streamline access to arch defaults, simplify Registers.
Replaces ArchDefault method with Crankshaft and Turbofan getters.
Eliminates IsAllocated method on Register, FloatRegister, DoubleRegister.
Eliminates ToString method too.
Changes call sites to access appropriate arch default RegisterConfiguration.
LOG=N
BUG=
Committed: https://crrev.com/257336d26a9b4f8efad872d3166a5ac3742e9adc
Cr-Commit-Position: refs/heads/master@{#37297}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+271 lines, -452 lines) |
Patch |
|
M |
src/arm/assembler-arm.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/arm/deoptimizer-arm.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/arm/disasm-arm.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/arm/macro-assembler-arm.cc
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/arm/simulator-arm.cc
|
View
|
1
2
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/arm64/assembler-arm64.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/arm64/assembler-arm64.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/arm64/deoptimizer-arm64.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/arm64/macro-assembler-arm64.cc
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/assembler.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -50 lines |
0 comments
|
Download
|
|
M |
src/compiler/graph-visualizer.cc
|
View
|
1
2
|
2 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/compiler/instruction.cc
|
View
|
1
2
|
10 chunks |
+20 lines, -43 lines |
0 comments
|
Download
|
|
M |
src/compiler/move-optimizer.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/compiler/pipeline.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/compiler/register-allocator.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/arm/lithium-codegen-arm.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/crankshaft/arm64/lithium-codegen-arm64.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/crankshaft/arm64/lithium-gap-resolver-arm64.h
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/hydrogen.cc
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/ia32/lithium-codegen-ia32.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/crankshaft/ia32/lithium-gap-resolver-ia32.cc
|
View
|
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/lithium.cc
|
View
|
1
2
|
5 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/lithium-allocator.cc
|
View
|
1
2
|
6 chunks |
+10 lines, -16 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/mips/lithium-codegen-mips.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/crankshaft/mips64/lithium-codegen-mips64.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/crankshaft/ppc/lithium-codegen-ppc.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/crankshaft/s390/lithium-codegen-s390.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/crankshaft/x64/lithium-codegen-x64.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/crankshaft/x87/lithium-codegen-x87.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/crankshaft/x87/lithium-gap-resolver-x87.cc
|
View
|
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/deoptimizer.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/frames.cc
|
View
|
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/ia32/assembler-ia32.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/ia32/code-stubs-ia32.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ia32/deoptimizer-ia32.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/mips/assembler-mips.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/mips/deoptimizer-mips.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/mips/macro-assembler-mips.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/mips64/assembler-mips64.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/mips64/deoptimizer-mips64.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/mips64/macro-assembler-mips64.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ppc/assembler-ppc.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/ppc/deoptimizer-ppc.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/ppc/disasm-ppc.cc
|
View
|
1
2
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ppc/macro-assembler-ppc.cc
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/ppc/simulator-ppc.cc
|
View
|
1
2
|
4 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/register-configuration.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+15 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/register-configuration.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+15 lines, -14 lines |
0 comments
|
Download
|
|
M |
src/s390/assembler-s390.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/s390/deoptimizer-s390.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/s390/disasm-s390.cc
|
View
|
1
2
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/s390/macro-assembler-s390.cc
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/s390/simulator-s390.cc
|
View
|
1
2
|
4 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/x64/assembler-x64.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/x64/code-stubs-x64.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/x64/deoptimizer-x64.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/x64/macro-assembler-x64.cc
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/x87/assembler-x87.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/x87/deoptimizer-x87.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
test/cctest/compiler/test-gap-resolver.cc
|
View
|
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
test/cctest/compiler/test-multiple-return.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
test/cctest/compiler/test-run-native-calls.cc
|
View
|
|
17 chunks |
+44 lines, -107 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-code-stubs-arm.cc
|
View
|
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-code-stubs-arm64.cc
|
View
|
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-code-stubs-ia32.cc
|
View
|
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-code-stubs-mips.cc
|
View
|
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-code-stubs-mips64.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-code-stubs-x64.cc
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-code-stubs-x87.cc
|
View
|
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/instruction-selector-unittest.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
test/unittests/compiler/move-optimizer-unittest.cc
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
Total messages: 11 (6 generated)
|