Reviewers: Kevin Millikin,

Description:
Fix a problem with const initialization in the top-level code generator.

When initializing the special local variable containing the reference to the
enclosing
function in named functions we now (correctly) emit an INIT_CONST instead of
INIT_VAR,
and we correctly bail out in the top-level code generator.

Also part of this change is adding missing statement position information
for some statements in the top-level code generator.


Please review this at http://codereview.chromium.org/536029

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

Affected files:
  M     src/codegen.cc
  M     src/compiler.cc
  M     src/fast-codegen.cc
  M     src/ia32/fast-codegen-ia32.cc
  M     src/parser.cc


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

Reply via email to