| Index: third_party/WebKit/Source/wtf/Assertions.h
|
| diff --git a/third_party/WebKit/Source/wtf/Assertions.h b/third_party/WebKit/Source/wtf/Assertions.h
|
| index 28af93a08d25f87328a1a5c4eaa00b164651dfd6..d0906a1c0a882e8657db5cf478cb9e61db2913d0 100644
|
| --- a/third_party/WebKit/Source/wtf/Assertions.h
|
| +++ b/third_party/WebKit/Source/wtf/Assertions.h
|
| @@ -129,30 +129,6 @@ class WTF_EXPORT ScopedLogger {
|
|
|
| } // namespace WTF
|
|
|
| -// IMMEDIATE_CRASH() - Like CRASH() below but crashes in the fastest, simplest
|
| -// possible way with no attempt at logging.
|
| -#ifndef IMMEDIATE_CRASH
|
| -#if COMPILER(GCC) || COMPILER(CLANG)
|
| -#define IMMEDIATE_CRASH() __builtin_trap()
|
| -#else
|
| -#define IMMEDIATE_CRASH() ((void)(*(volatile char*)0 = 0))
|
| -#endif
|
| -#endif
|
| -
|
| -// OOM_CRASH() - Specialization of IMMEDIATE_CRASH which will raise a custom
|
| -// exception on Windows to signal this is OOM and not a normal assert.
|
| -#ifndef OOM_CRASH
|
| -#if OS(WIN)
|
| -#define OOM_CRASH() \
|
| - do { \
|
| - ::RaiseException(0xE0000008, EXCEPTION_NONCONTINUABLE, 0, nullptr); \
|
| - IMMEDIATE_CRASH(); \
|
| - } while (0)
|
| -#else
|
| -#define OOM_CRASH() IMMEDIATE_CRASH()
|
| -#endif
|
| -#endif
|
| -
|
| // CRASH() - Raises a fatal error resulting in program termination and
|
| // triggering either the debugger or the crash reporter.
|
| //
|
|
|