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
parent cd44f0da
...@@ -225,7 +225,7 @@ void i::V8::FatalProcessOutOfMemory(const char* location, bool take_snapshot) { ...@@ -225,7 +225,7 @@ void i::V8::FatalProcessOutOfMemory(const char* location, bool take_snapshot) {
const char* message = "Allocation failed - process out of memory"; const char* message = "Allocation failed - process out of memory";
callback(location, message); callback(location, message);
// If the callback returns, we stop execution. // If the callback returns, we stop execution.
UNREACHABLE(); FATAL("API fatal error handler returned after process out of memory");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment