|
Implement a type recording ToBoolean IC.
The IC records the set of types it has seen, e.g. {String} or {Boolean,
Undefined}, etc. Note that in theory this could lead to a large number of
different ToBoolean ICs (512, to be exact, because we distinguish 9 types),
but in practice only a small handful of them are actually generated.
Currently the type recording part is only implemented on ia32, other platforms
continue to work like they did before, though.
Removed some dead code on the way.
Committed: http://code.google.com/p/v8/source/detail?r=8716
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+331 lines, -74 lines) |
Patch |
|
M |
src/code-stubs.h
|
View
|
|
1 chunk |
+45 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/code-stubs.cc
|
View
|
|
1 chunk |
+69 lines, -0 lines |
2 comments
|
Download
|
|
M |
src/debug.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/ia32/code-stubs-ia32.cc
|
View
|
|
1 chunk |
+138 lines, -47 lines |
8 comments
|
Download
|
|
M |
src/ic.h
|
View
|
|
2 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
|
M |
src/ic.cc
|
View
|
|
3 chunks |
+26 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/log.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
|
5 chunks |
+16 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
|
4 chunks |
+21 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/spaces.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|