Merged r11592 into 3.10 branch.

Disable optimization for functions that have scopes that cannot be reconstructed from the context chain.

BUG=v8:2071

R=yangguo@chromium.org
TEST=

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

git-svn-id: http://v8.googlecode.com/svn/branches/3.10@11641 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
6 files changed