Revision: 4650
Author: [email protected]
Date: Wed May 12 05:44:00 2010
Log: 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
http://code.google.com/p/v8/source/detail?r=4650

Modified:
 /branches/bleeding_edge/src/bootstrapper.cc

=======================================
--- /branches/bleeding_edge/src/bootstrapper.cc Thu May  6 06:21:53 2010
+++ /branches/bleeding_edge/src/bootstrapper.cc Wed May 12 05:44:00 2010
@@ -1753,8 +1753,8 @@
         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();

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to