Convert DCHECK to assert.
The open source build does not support DCHECK, and this project uses assert() instead of DCHECK.
This commit is contained in:
@@ -693,8 +693,8 @@ static inline void Report(const char *algorithm, size_t compressed_size,
|
|||||||
// };
|
// };
|
||||||
|
|
||||||
static inline uint32 ExtractLowBytes(uint32 v, int n) {
|
static inline uint32 ExtractLowBytes(uint32 v, int n) {
|
||||||
DCHECK_GE(n, 0);
|
assert(n >= 0);
|
||||||
DCHECK_LE(n, 4);
|
assert(n <= 4);
|
||||||
// TODO(b/121042345): Remove !defined(MEMORY_SANITIZER) once MSan
|
// TODO(b/121042345): Remove !defined(MEMORY_SANITIZER) once MSan
|
||||||
// handles _bzhi_u32() correctly.
|
// handles _bzhi_u32() correctly.
|
||||||
#if defined(__BMI2__) && !defined(MEMORY_SANITIZER)
|
#if defined(__BMI2__) && !defined(MEMORY_SANITIZER)
|
||||||
|
|||||||
Reference in New Issue
Block a user