Index: src/platform-win32.cc |
diff --git a/src/platform-win32.cc b/src/platform-win32.cc |
index 56261735b871ee2166498f877ced615baf4efa7f..446caeea84d6fcc32213e2565b924c792f11bf07 100644 |
--- a/src/platform-win32.cc |
+++ b/src/platform-win32.cc |
@@ -923,12 +923,11 @@ void OS::Sleep(int milliseconds) { |
void OS::Abort() { |
- if (IsDebuggerPresent() || FLAG_break_on_abort) { |
- DebugBreak(); |
- } else { |
- // Make the MSVCRT do a silent abort. |
- raise(SIGABRT); |
+ if (FLAG_hard_abort) { |
+ V8_IMMEDIATE_CRASH(); |
} |
+ // Make the MSVCRT do a silent abort. |
+ raise(SIGABRT); |
} |