Replace SharedFunctionInfo::EnsureCompiled with JSFunction::CompileLazy where possible.
authorulan@chromium.org <ulan@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 5 Jun 2012 13:15:35 +0000 (13:15 +0000)
committerulan@chromium.org <ulan@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 5 Jun 2012 13:15:35 +0000 (13:15 +0000)
commit1a80bc33a2a7018ee9dac3d8d41d9739ca3238c4
treed6c50c015e54d3f94241bd3dca3d27a4dd23797f
parentc13dd2ece640b665ccd16b976bf7dbf007de51df
Replace SharedFunctionInfo::EnsureCompiled with JSFunction::CompileLazy where possible.

After we get rid of all SharedFunctionInfo::EnsureCompiled calls, it will be possible to remove the HasTrivialOuterContext() condition in Scope::AllowsLazyCompilation.

R=mstarzinger@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11715 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/bootstrapper.cc
src/runtime.cc