Do not automatically pretenure global closures in runtime.cc
authorerik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 20 Jun 2011 12:20:30 +0000 (12:20 +0000)
committererik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 20 Jun 2011 12:20:30 +0000 (12:20 +0000)
commit5fb7199b8d4cb4de52782e186e7904e5bd7bcf94
treed6f3237701c2daa916f133f2b879dee4f1a7a671
parent8c538d90125fcfdf69e6a651dddf42bafa65b644
Do not automatically pretenure global closures in runtime.cc
unless the caller has indicated that pretenuring is desirable.
This is intended to fix http://jsperf.com/scope-lookups/3
Review URL: http://codereview.chromium.org/7210011

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