|
Serendipitously arrange the tags so that String.length() becomes a branch-free
operation. I have another version of this change that does not remove the
special inline caches for difference sized strings. The other version is ever
so slightly faster, but the nice thing about this version is that it removes
253 lines of code.
Committed: http://code.google.com/p/v8/source/detail?r=603
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+88 lines, -341 lines) |
Patch |
|
M |
src/builtins.h
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
src/builtins.cc
|
View
|
|
1 chunk |
+2 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/codegen-ia32.cc
|
View
|
|
4 chunks |
+16 lines, -32 lines |
4 comments
|
Download
|
|
M |
src/ic.h
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
src/ic.cc
|
View
|
|
2 chunks |
+2 lines, -17 lines |
0 comments
|
Download
|
|
M |
src/ic-ia32.cc
|
View
|
|
2 chunks |
+2 lines, -36 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
|
3 chunks |
+15 lines, -16 lines |
5 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
|
3 chunks |
+21 lines, -52 lines |
0 comments
|
Download
|
|
M |
src/stub-cache.h
|
View
|
|
3 chunks |
+7 lines, -23 lines |
0 comments
|
Download
|
|
M |
src/stub-cache.cc
|
View
|
|
2 chunks |
+3 lines, -37 lines |
0 comments
|
Download
|
|
M |
src/stub-cache-ia32.cc
|
View
|
|
4 chunks |
+14 lines, -108 lines |
2 comments
|
Download
|
Total messages: 3 (0 generated)
|