|
Create a RegisterSpec class inside of the IC that provides:
1) symbolic names for the register (like, edx == receiver)
2) can return an array of registers
3) defines ordering when passed on the stack
Code that implements or uses the IC should use this RegisterSpec instead of "knowing" what the registers are. Or at least have the RegisterSpec to validate it's assumptions.
R=jkummerow@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=21939
Total comments: 3
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+156 lines, -205 lines) |
Patch |
|
M |
src/arm/code-stubs-arm.cc
|
View
|
1
2
|
2 chunks |
+0 lines, -30 lines |
0 comments
|
Download
|
|
M |
src/arm/ic-arm.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm/stub-cache-arm.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/arm64/code-stubs-arm64.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -34 lines |
0 comments
|
Download
|
|
M |
src/arm64/ic-arm64.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm64/stub-cache-arm64.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/code-stubs.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/code-stubs.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/code-stubs-hydrogen.cc
|
View
|
1
2
3
|
3 chunks |
+12 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/ia32/code-stubs-ia32.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -30 lines |
0 comments
|
Download
|
|
M |
src/ia32/ic-ia32.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ia32/stub-cache-ia32.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ic.h
|
View
|
1
2
3
4
|
2 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/mips/code-stubs-mips.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -30 lines |
0 comments
|
Download
|
|
M |
src/mips/ic-mips.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/mips/stub-cache-mips.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/x64/code-stubs-x64.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -30 lines |
0 comments
|
Download
|
|
M |
src/x64/ic-x64.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/x64/stub-cache-x64.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/x87/code-stubs-x87.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -30 lines |
0 comments
|
Download
|
|
M |
src/x87/ic-x87.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/x87/stub-cache-x87.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|