Chromium Code Reviews| Index: src/bootstrapper.h |
| =================================================================== |
| --- src/bootstrapper.h (revision 3439) |
| +++ src/bootstrapper.h (working copy) |
| @@ -74,6 +74,10 @@ |
| static char* ArchiveState(char* to); |
| static char* RestoreState(char* from); |
| static void FreeThreadResources(); |
| + |
| + // This will allocate a char array that is deleted when V8 is shut down. |
| + // It should only be used for strictly finite allocations. |
| + static char* AllocateAutoDeletedArray(int bytes); |
| }; |