diff options
Diffstat (limited to 'deps/v8/src/string-case.cc')
-rw-r--r-- | deps/v8/src/string-case.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/string-case.cc b/deps/v8/src/string-case.cc index 52d9636083..f1a7f9e979 100644 --- a/deps/v8/src/string-case.cc +++ b/deps/v8/src/string-case.cc @@ -62,7 +62,7 @@ int FastAsciiConvert(char* dst, const char* src, int length, DisallowHeapAllocation no_gc; // We rely on the distance between upper and lower case letters // being a known power of 2. - DCHECK('a' - 'A' == (1 << 5)); + DCHECK_EQ('a' - 'A', 1 << 5); // Boundaries for the range of input characters than require conversion. static const char lo = is_lower ? 'A' - 1 : 'a' - 1; static const char hi = is_lower ? 'Z' + 1 : 'z' + 1; |