diff options
Diffstat (limited to 'deps/v8/src/base/division-by-constant.cc')
-rw-r--r-- | deps/v8/src/base/division-by-constant.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/base/division-by-constant.cc b/deps/v8/src/base/division-by-constant.cc index 03d198e9bf..4e0900fa24 100644 --- a/deps/v8/src/base/division-by-constant.cc +++ b/deps/v8/src/base/division-by-constant.cc @@ -53,7 +53,7 @@ template <class T> MagicNumbersForDivision<T> UnsignedDivisionByConstant(T d, unsigned leading_zeros) { STATIC_ASSERT(static_cast<T>(0) < static_cast<T>(-1)); - DCHECK(d != 0); + DCHECK_NE(d, 0); const unsigned bits = static_cast<unsigned>(sizeof(T)) * 8; const T ones = ~static_cast<T>(0) >> leading_zeros; const T min = static_cast<T>(1) << (bits - 1); |