Changeset 57016 in webkit for trunk/JavaScriptCore/wtf/Assertions.h
- Timestamp:
- Apr 2, 2010, 12:51:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/Assertions.h
r54296 r57016 57 57 58 58 #ifdef NDEBUG 59 /* Disable ASSERT* macros in release mode. */ 59 60 #define ASSERTIONS_DISABLED_DEFAULT 1 60 61 #else … … 149 150 #endif 150 151 151 /* CRASH -- gets us into the debugger or the crash reporter -- signals are ignored by the crash reporter so we must do better */ 152 152 /* CRASH() - Raises a fatal error resulting in program termination and triggering either the debugger or the crash reporter. 153 154 Use CRASH() in response to known, unrecoverable errors like out-of-memory. 155 Macro is enabled in both debug and release mode. 156 To test for unknown errors and verify assumptions, use ASSERT instead, to avoid impacting performance in release builds. 157 158 Signals are ignored by the crash reporter on OS X so we must do better. 159 */ 153 160 #ifndef CRASH 154 161 #if OS(SYMBIAN) … … 165 172 #endif 166 173 167 /* ASSERT, ASSERT_NOT_REACHED, ASSERT_UNUSED */ 174 /* ASSERT, ASSERT_NOT_REACHED, ASSERT_UNUSED 175 176 These macros are compiled out of release builds. 177 Expressions inside them are evaluated in debug builds only. 178 */ 168 179 169 180 #if OS(WINCE) && !PLATFORM(TORCHMOBILE)
Note:
See TracChangeset
for help on using the changeset viewer.