Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: src/base/logging.h

Issue 841083002: Remove "extra checks" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/api.h ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « src/api.h ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698