Index: src/platform-posix.cc |
diff --git a/src/platform-posix.cc b/src/platform-posix.cc |
index b5ab0cfef118d5c9402ba1ee97914926c5c036b9..c91cf241960d5a245abca3f8277c43c32e27d951 100644 |
--- a/src/platform-posix.cc |
+++ b/src/platform-posix.cc |
@@ -265,10 +265,10 @@ void OS::Sleep(int milliseconds) { |
void OS::Abort() { |
- // Redirect to std abort to signal abnormal program termination. |
- if (FLAG_break_on_abort) { |
- DebugBreak(); |
+ if (FLAG_hard_abort) { |
+ V8_IMMEDIATE_CRASH(); |
} |
+ // Redirect to std abort to signal abnormal program termination. |
abort(); |
} |