From 46263611c7ea6d4334e93511c692e6e56d9ca29d Mon Sep 17 00:00:00 2001 From: "antonm@chromium.org" Date: Wed, 12 May 2010 12:44:00 +0000 Subject: [PATCH] Initialize jsfunction caches earlier. If --nolazy is on, we compile ArraySort which requires these caches to be set up. Review URL: http://codereview.chromium.org/2025006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4650 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/bootstrapper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc index df1e98a..0874131 100644 --- a/src/bootstrapper.cc +++ b/src/bootstrapper.cc @@ -1753,8 +1753,8 @@ Genesis::Genesis(Handle global_object, CreateNewGlobals(global_template, global_object, &inner_global); HookUpGlobalProxy(inner_global, global_proxy); InitializeGlobal(inner_global, empty_function); - if (!InstallNatives()) return; InstallJSFunctionResultCaches(); + if (!InstallNatives()) return; MakeFunctionInstancePrototypeWritable(); -- 2.7.4