| Index: src/platform-win32.cc
|
| diff --git a/src/platform-win32.cc b/src/platform-win32.cc
|
| index 546d31c078f69f2d347090d266cf89e4dd26e047..446caeea84d6fcc32213e2565b924c792f11bf07 100644
|
| --- a/src/platform-win32.cc
|
| +++ b/src/platform-win32.cc
|
| @@ -25,7 +25,7 @@
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -// Platform specific code for Win32.
|
| +// Platform-specific code for Win32.
|
|
|
| // Secure API functions are not available using MinGW with msvcrt.dll
|
| // on Windows XP. Make sure MINGW_HAS_SECURE_API is not defined to
|
| @@ -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);
|
| }
|
|
|
|
|
|
|