Index: src/v8.cc |
=================================================================== |
--- src/v8.cc (revision 1360) |
+++ src/v8.cc (working copy) |
@@ -51,9 +51,6 @@ |
Logger::Setup(); |
if (des) des->GetLog(); |
- // Setup the CPU support. |
- CPU::Setup(); |
- |
// Setup the platform OS support. |
OS::Setup(); |
@@ -83,6 +80,11 @@ |
StubCache::Clear(); |
} |
+ // Setup the CPU support. Must be done after heap setup and after |
+ // any deserialization because we have to have the initial heap |
+ // objects in place for creating the code object used for probin. |
Mads Ager (chromium)
2009/02/25 14:34:05
probin -> probing.
|
+ CPU::Setup(); |
+ |
return true; |
} |