| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 9da3346d7940cebbb49d60813c04d56a4466260f..0ceed2467a26c2c3fa3e82b95f2611c0f48dd601 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -124,6 +124,10 @@ static FatalErrorCallback& GetFatalErrorHandler() {
|
| }
|
|
|
|
|
| +void i::FatalProcessOutOfMemory(const char* location) {
|
| + i::V8::FatalProcessOutOfMemory(location, false);
|
| +}
|
| +
|
|
|
| // When V8 cannot allocated memory FatalProcessOutOfMemory is called.
|
| // The default fatal error handler is called and execution is stopped.
|
|
|