|
Track whether a node or variable are likely to be a Smi value. Propagate that
knowledge in the AST and inline the Smi check into the generated code if it
is deemed high value (e.g. in loops).
Committed: http://code.google.com/p/v8/source/detail?r=630
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+604 lines, -29 lines) |
Patch |
|
M |
src/ast.h
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/codegen-ia32.h
|
View
|
1
|
4 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/codegen-ia32.cc
|
View
|
1
2
3
|
12 chunks |
+30 lines, -14 lines |
0 comments
|
Download
|
|
M |
src/compiler.cc
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/flag-definitions.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/prettyprinter.h
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/prettyprinter.cc
|
View
|
1
|
7 chunks |
+36 lines, -14 lines |
0 comments
|
Download
|
|
M |
src/rewriter.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/rewriter.cc
|
View
|
1
2
3
|
2 chunks |
+449 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/variables.h
|
View
|
1
|
3 chunks |
+47 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/variables.cc
|
View
|
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/v8.xcodeproj/project.pbxproj
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|