Fix lazy compilation for strict eval scopes.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 3 Jul 2012 08:41:13 +0000 (08:41 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 3 Jul 2012 08:41:13 +0000 (08:41 +0000)
commit7da6d2b0236e32ebbf7309d7db0cb2216d557237
tree8e93f8dad6bbacabd23cb990ce51d7a6845cc849
parentc22c7054f2acc805b80c0009ed212ef6d8bdf022
Fix lazy compilation for strict eval scopes.

This prevents lazy compilation of functions that have an outer context
containing a strict eval scope. Such a scope potentially contains
context allocated variables in an artificial function scope that is not
deserialized correctly.

R=ulan@chromium.org
BUG=chromium:135066
TEST=mjsunit/regress/regress-crbug-135066

Review URL: https://chromiumcodereview.appspot.com/10704058

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11976 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/scopes.cc
src/scopes.h
test/mjsunit/regress/regress-crbug-135066.js [new file with mode: 0644]