diff options
Diffstat (limited to 'deps/v8/src/bootstrapper.h')
-rw-r--r-- | deps/v8/src/bootstrapper.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/v8/src/bootstrapper.h b/deps/v8/src/bootstrapper.h index 07d2747b44..7cd3a2bbf8 100644 --- a/deps/v8/src/bootstrapper.h +++ b/deps/v8/src/bootstrapper.h @@ -74,6 +74,10 @@ class Bootstrapper : public AllStatic { 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); }; |