Use CHECK_OP instead of CHECK where possible.
Change-Id: I2f12650e42bab057d0fd3b2978250306a6b264ab
diff --git a/src/java_lang_System.cc b/src/java_lang_System.cc
index 4a6e8db..d8e8a5a 100644
--- a/src/java_lang_System.cc
+++ b/src/java_lang_System.cc
@@ -54,7 +54,7 @@
#define move32 _memmove_words
#else
static void move16(void* dst, const void* src, size_t n) {
- DCHECK((((uintptr_t) dst | (uintptr_t) src | n) & 0x01) == 0);
+ DCHECK_EQ((((uintptr_t) dst | (uintptr_t) src | n) & 0x01), 0U);
uint16_t* d = reinterpret_cast<uint16_t*>(dst);
const uint16_t* s = reinterpret_cast<const uint16_t*>(src);
@@ -77,7 +77,7 @@
}
static void move32(void* dst, const void* src, size_t n) {
- DCHECK((((uintptr_t) dst | (uintptr_t) src | n) & 0x03) == 0);
+ DCHECK_EQ((((uintptr_t) dst | (uintptr_t) src | n) & 0x03), 0U);
uint32_t* d = reinterpret_cast<uint32_t*>(dst);
const uint32_t* s = reinterpret_cast<const uint32_t*>(src);