Go to file
kmillikin@chromium.org b625ce2b6b Fix a bug in scope analysis.
When recompiling code (e.g., when optimizing) we could incorrectly hoist
some function expressions.  This leads to incorrect results or a crash.  The
root cause was that functions were not correctly categorized as expression
or declaration at parse time.

This requires some extra hoops to prevent the print name "anonymous" for
functions created by 'new Function' from establishing a binding.

R=vegorov@chromium.org,kasperl@chromium.org
BUG=1583
TEST=regress-1583

Review URL: http://codereview.chromium.org/7572019

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8838 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-08-05 08:28:11 +00:00
benchmarks Promote the current V8 benchmark suite candidate to version 6. 2010-10-07 07:25:22 +00:00
build Revert "Make GYP build usable for day-to-day work" 2011-07-18 16:39:41 +00:00
include Fix: FunctionTemplate::SetPrototypeAttributes broke prototype object 2011-07-25 15:01:45 +00:00
preparser Revert "Make GYP build usable for day-to-day work" 2011-07-18 16:39:41 +00:00
samples Revert "Make GYP build usable for day-to-day work" 2011-07-18 16:39:41 +00:00
src Fix a bug in scope analysis. 2011-08-05 08:28:11 +00:00
test Fix a bug in scope analysis. 2011-08-05 08:28:11 +00:00
tools Fix report printing in test.py script. 2011-08-05 08:04:47 +00:00
.gitignore Revert "Make GYP build usable for day-to-day work" 2011-07-18 16:39:41 +00:00
AUTHORS Fixes the build for the shell on illumos and Solaris. -D__C99FEATURES__ was added to mirror how the build is done on the normal platform. The changes in the platform code are a follow up to a prior review and has the Solaris implementation be more similar to the Linux version as opposed to the FreeBSD. 2011-07-01 05:50:14 +00:00
ChangeLog Prepare push to trunk. Now working on 3.5.4. 2011-08-03 10:56:06 +00:00
LICENSE Fix the license info to correctly state Copyright "the V8 project 2011-01-19 09:20:18 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
SConstruct Fix presubmit error in copyright message. 2011-07-20 08:45:30 +00:00