Reviewers: fschneider,

Description:
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.

[email protected]
BUG=
TEST=


Please review this at https://chromiumcodereview.appspot.com/9704054/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/arm/full-codegen-arm.cc
  M src/full-codegen.h
  M src/full-codegen.cc
  M src/hydrogen.h
  M src/hydrogen.cc
  M src/ia32/full-codegen-ia32.cc
  M src/parser.cc
  M src/runtime.cc
  M src/scopeinfo.cc
  M src/scopes.h
  M src/scopes.cc
  M src/x64/full-codegen-x64.cc


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to