Reviewers: Vyacheslav Egorov,

Description:
Revert "Revert "Fix a bug in scope analysis.""

Reapply r8838 with a fix for the issue of function names.

Because function names can be added/changed/removed through the API,
remember whether the function is anonymous when initially parsed and use
that information when compiling.

[email protected]
BUG=1583
TEST=regress-1583


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

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

Affected files:
  M src/compiler.cc
  M src/heap.cc
  M src/objects-inl.h
  M src/objects.h
  M src/parser.h
  M src/parser.cc
  M src/runtime.h
  M src/runtime.cc
  M src/v8natives.js
  A test/mjsunit/regress/regress-1583.js


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

Reply via email to