| Index: src/heap.cc
|
| ===================================================================
|
| --- src/heap.cc (revision 9304)
|
| +++ src/heap.cc (working copy)
|
| @@ -2056,6 +2056,15 @@
|
| // To workaround the problem, make separate functions without inlining.
|
| Heap::CreateJSEntryStub();
|
| Heap::CreateJSConstructEntryStub();
|
| +
|
| + // Create stubs that should be there, so we don't unexpectedly have to
|
| + // create them if we need them during the creation of another stub.
|
| + // Stub creation mixes raw pointers and handles in an unsafe manner so
|
| + // we cannot create stubs while we are creating stubs.
|
| + CEntryStub ces(1);
|
| + ces.GetCode();
|
| +
|
| + CodeStub::GenerateStubsAheadOfTime();
|
| }
|
|
|
|
|
|
|