Commit 46263611 authored by antonm@chromium.org's avatar antonm@chromium.org

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
parent e8e35ecc
...@@ -1753,8 +1753,8 @@ Genesis::Genesis(Handle<Object> global_object, ...@@ -1753,8 +1753,8 @@ Genesis::Genesis(Handle<Object> global_object,
CreateNewGlobals(global_template, global_object, &inner_global); CreateNewGlobals(global_template, global_object, &inner_global);
HookUpGlobalProxy(inner_global, global_proxy); HookUpGlobalProxy(inner_global, global_proxy);
InitializeGlobal(inner_global, empty_function); InitializeGlobal(inner_global, empty_function);
if (!InstallNatives()) return;
InstallJSFunctionResultCaches(); InstallJSFunctionResultCaches();
if (!InstallNatives()) return;
MakeFunctionInstancePrototypeWritable(); MakeFunctionInstancePrototypeWritable();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment