| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_BASE_LOGGING_H_ | 5 #ifndef V8_BASE_LOGGING_H_ |
| 6 #define V8_BASE_LOGGING_H_ | 6 #define V8_BASE_LOGGING_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 #include <string.h> | 9 #include <string.h> |
| 10 | 10 |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 #define DCHECK(condition) ((void) 0) | 207 #define DCHECK(condition) ((void) 0) |
| 208 #define DCHECK_EQ(v1, v2) ((void) 0) | 208 #define DCHECK_EQ(v1, v2) ((void) 0) |
| 209 #define DCHECK_NE(v1, v2) ((void) 0) | 209 #define DCHECK_NE(v1, v2) ((void) 0) |
| 210 #define DCHECK_GE(v1, v2) ((void) 0) | 210 #define DCHECK_GE(v1, v2) ((void) 0) |
| 211 #define DCHECK_LT(v1, v2) ((void) 0) | 211 #define DCHECK_LT(v1, v2) ((void) 0) |
| 212 #define DCHECK_LE(v1, v2) ((void) 0) | 212 #define DCHECK_LE(v1, v2) ((void) 0) |
| 213 #endif | 213 #endif |
| 214 | 214 |
| 215 #define DCHECK_NOT_NULL(p) DCHECK_NE(NULL, p) | 215 #define DCHECK_NOT_NULL(p) DCHECK_NE(NULL, p) |
| 216 | 216 |
| 217 // "Extra checks" are lightweight checks that are enabled in some release | |
| 218 // builds. | |
| 219 #ifdef ENABLE_EXTRA_CHECKS | |
| 220 #define EXTRA_CHECK(condition) CHECK(condition) | |
| 221 #else | |
| 222 #define EXTRA_CHECK(condition) ((void) 0) | |
| 223 #endif | |
| 224 | |
| 225 #endif // V8_BASE_LOGGING_H_ | 217 #endif // V8_BASE_LOGGING_H_ |
| OLD | NEW |