Index: base/logging.h |
=================================================================== |
--- base/logging.h (revision 106713) |
+++ base/logging.h (working copy) |
@@ -716,6 +716,9 @@ |
#define DCHECK_GE(val1, val2) DCHECK_OP(GE, >=, val1, val2) |
#define DCHECK_GT(val1, val2) DCHECK_OP(GT, > , val1, val2) |
+#define DCHECK_ALIGNED(ptr) \ |
willchan no longer on Chromium
2011/10/21 16:10:42
I don't think we need to add this into logging.h.
|
+ DCHECK_EQ(reinterpret_cast<uintptr_t>((ptr)) % sizeof((ptr)), 0u) |
+ |
#define NOTREACHED() DCHECK(false) |
// Redefine the standard assert to use our nice log files |