Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index b89cdfc0b66a8f2271ab9275db31ae61f16e51f4..4b80555a159da47f82183c3c090ea3f5415b17f9 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -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"); |
} |