diff options
Diffstat (limited to 'src/allocation.h')
-rw-r--r-- | src/allocation.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/allocation.h b/src/allocation.h index 70a3a038..6f4bd2fb 100644 --- a/src/allocation.h +++ b/src/allocation.h @@ -31,6 +31,10 @@ namespace v8 { namespace internal { +// Called when allocation routines fail to allocate. +// This function should not return, but should terminate the current +// processing. +void FatalProcessOutOfMemory(const char* message); // A class that controls whether allocation is allowed. This is for // the C++ heap only! |