| Index: src/v8.cc
|
| ===================================================================
|
| --- src/v8.cc (revision 1380)
|
| +++ 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 probing.
|
| + CPU::Setup();
|
| +
|
| return true;
|
| }
|
|
|
|
|