Chromium Code Reviews| Index: src/allocation.h |
| diff --git a/src/allocation.h b/src/allocation.h |
| index 70a3a038899c73cf732d182e2f67384a42267236..6f4bd2fb545431d4a9eb0cc61c2978b7c12c76c4 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! |