|
Refactoring of code generation for declarations, in preparation for modules.
Do proper dispatch on declaration type instead of mingling together
different code generation paths. Once we add more declaration forms,
this is more scalable.
In separate steps, I'd like to (1) clean up the logic for DeclareGlobal,
and (2) try to reduce the special handling of the name function var if
possible.
R=fschneider@chromium.org
BUG=
TEST=
Committed: https://code.google.com/p/v8/source/detail?r=11331
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+544 lines, -301 lines) |
Patch |
|
M |
src/arm/full-codegen-arm.cc
|
View
|
1
|
6 chunks |
+135 lines, -54 lines |
0 comments
|
Download
|
|
M |
src/full-codegen.h
|
View
|
|
2 chunks |
+5 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/full-codegen.cc
|
View
|
|
1 chunk |
+0 lines, -25 lines |
0 comments
|
Download
|
|
M |
src/hydrogen.h
|
View
|
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
src/hydrogen.cc
|
View
|
|
4 chunks |
+87 lines, -49 lines |
0 comments
|
Download
|
|
M |
src/ia32/full-codegen-ia32.cc
|
View
|
1
|
6 chunks |
+133 lines, -51 lines |
0 comments
|
Download
|
|
M |
src/parser.cc
|
View
|
1
|
1 chunk |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/runtime.cc
|
View
|
|
3 chunks |
+18 lines, -21 lines |
0 comments
|
Download
|
|
M |
src/scopeinfo.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/scopes.h
|
View
|
|
3 chunks |
+6 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/scopes.cc
|
View
|
1
|
5 chunks |
+14 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/x64/full-codegen-x64.cc
|
View
|
1
|
6 chunks |
+133 lines, -51 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|