Make sure the fatal OOM handler never returns.

R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/23731004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16497 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
mstarzinger@chromium.org 2013-09-03 09:45:55 +00:00
parent cd44f0dac7
commit fdb5b9241c

View File

@ -225,7 +225,7 @@ void i::V8::FatalProcessOutOfMemory(const char* location, bool take_snapshot) {
const char* message = "Allocation failed - process out of memory";
callback(location, message);
// If the callback returns, we stop execution.
UNREACHABLE();
FATAL("API fatal error handler returned after process out of memory");
}