Allow closures to be optimized if outer contexts that call eval are all in strict...
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 11 May 2011 11:26:11 +0000 (11:26 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 11 May 2011 11:26:11 +0000 (11:26 +0000)
commit8a0b1f5bc99f19d2dc7b7a37896eac7a779781be
tree2fc668016d4a85aa19414e3ec9db49acd1bf7c76
parentfa2a92b45f318a73aadcfa61dee328c8ba680246
Allow closures to be optimized if outer contexts that call eval are all in strict mode.

R=kmillikin@chromium.org
BUG=
TEST=mjsunit/compiler/eval-introduced-closure.js

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7853 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/compiler.cc
src/contexts.cc
src/contexts.h
src/scopeinfo.cc
src/scopeinfo.h
src/scopes.cc
src/scopes.h
test/mjsunit/compiler/eval-introduced-closure.js [new file with mode: 0644]