Convert DCHECK to assert.

A previous CL introduced a use of DCHECK. The open source build does not
support DCHECK, and this project uses assert() instead of DCHECK.
This commit is contained in:
costan
2019-01-08 13:26:32 -08:00
committed by Victor Costan
parent 97a20b480f
commit 3f194acb57

View File

@@ -733,7 +733,7 @@ static inline uint32 ExtractLowBytes(uint32 v, int n) {
}
static inline bool LeftShiftOverflows(uint8 value, uint32 shift) {
DCHECK_LT(shift, 32);
assert(shift < 32);
static const uint8 masks[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //