Changeset 38672 in webkit for trunk/JavaScriptCore/wtf/Assertions.h
- Timestamp:
- Nov 21, 2008, 12:09:40 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/Assertions.h
r38666 r38672 51 51 #endif 52 52 53 #include <stdlib.h>54 55 53 #ifdef NDEBUG 56 54 #define ASSERTIONS_DISABLED_DEFAULT 1 … … 123 121 124 122 #ifndef CRASH 125 #ifdef __cplusplus 126 #define CRASH() do { \ 127 *(int *)(uintptr_t)0xbbadbeef = 0; \ 128 ::abort(); \ 129 } while (false) 130 #else 131 #define CRASH() do { \ 132 *(int *)(uintptr_t)0xbbadbeef = 0; \ 133 abort(); \ 134 } while (false) 135 #endif 123 #define CRASH() *(int *)(uintptr_t)0xbbadbeef = 0 136 124 #endif 137 125
Note:
See TracChangeset
for help on using the changeset viewer.