|
The IC exposes a register definition.
Centralize a register definition in an IC that provides:
1) symbolic names for the register (like, edx == receiver)
2) defines ordering when passed on the stack
Code that implements or uses the IC should use this definition instead of "knowing" what the registers are. Or at least have the definition to validate it's assumptions.
As a side effect of avoiding runtime static initializers (enforced by tools/check-static-initializers.sh, neat), I gave ownership of the registers array to CodeStubInterfaceDescriptor. This prompted a cleanup of that struct.
R=jkummerow@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=22011
Total comments: 11
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+661 lines, -723 lines) |
Patch |
|
M |
src/arm/code-stubs-arm.cc
|
View
|
1
2
3
|
7 chunks |
+104 lines, -163 lines |
0 comments
|
Download
|
|
M |
src/arm/deoptimizer-arm.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/arm/ic-arm.cc
|
View
|
1
2
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm/stub-cache-arm.cc
|
View
|
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/arm64/code-stubs-arm64.cc
|
View
|
1
2
3
|
16 chunks |
+104 lines, -171 lines |
0 comments
|
Download
|
|
M |
src/arm64/deoptimizer-arm64.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/arm64/ic-arm64.cc
|
View
|
1
2
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm64/stub-cache-arm64.cc
|
View
|
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/code-stubs.h
|
View
|
1
2
3
|
4 chunks |
+58 lines, -21 lines |
0 comments
|
Download
|
|
M |
src/code-stubs.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+81 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/code-stubs-hydrogen.cc
|
View
|
1
|
8 chunks |
+22 lines, -19 lines |
0 comments
|
Download
|
|
M |
src/deoptimizer.cc
|
View
|
1
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/ia32/code-stubs-ia32.cc
|
View
|
1
2
3
|
7 chunks |
+106 lines, -164 lines |
0 comments
|
Download
|
|
M |
src/ia32/deoptimizer-ia32.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/ia32/ic-ia32.cc
|
View
|
1
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ia32/stub-cache-ia32.cc
|
View
|
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ic.h
|
View
|
1
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/isolate.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/x64/code-stubs-x64.cc
|
View
|
1
2
3
|
8 chunks |
+106 lines, -164 lines |
0 comments
|
Download
|
|
M |
src/x64/deoptimizer-x64.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/x64/ic-x64.cc
|
View
|
1
2
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/x64/stub-cache-x64.cc
|
View
|
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|