Move quadratic behavior of Context's optimized function list verification behind...
authorjkummerow@chromium.org <jkummerow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 3 Jul 2012 13:01:31 +0000 (13:01 +0000)
committerjkummerow@chromium.org <jkummerow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 3 Jul 2012 13:01:31 +0000 (13:01 +0000)
commit00eb355247526c76cdbeee6422dd76c236ee7bd9
treeb0310c392e10f39b0769865d58807e50711012e5
parentec4ab693c27ee57b2027bb7bb8243d055a33a665
Move quadratic behavior of Context's optimized function list verification behind --enable-slow-asserts flag

BUG=webkit:90003
TEST=the following takes only about 1 second in debug mode: var a=[1,2,3,4,5]; eval("for (var i=0;i<50000;i++) a.sort(function(){return 1;});");

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

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