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:
@@ -733,7 +733,7 @@ static inline uint32 ExtractLowBytes(uint32 v, int n) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static inline bool LeftShiftOverflows(uint8 value, uint32 shift) {
|
static inline bool LeftShiftOverflows(uint8 value, uint32 shift) {
|
||||||
DCHECK_LT(shift, 32);
|
assert(shift < 32);
|
||||||
static const uint8 masks[] = {
|
static const uint8 masks[] = {
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //
|
||||||
|
|||||||
Reference in New Issue
Block a user