Commit b8a192be authored by Clemens Hammacher's avatar Clemens Hammacher Committed by Commit Bot

[cleanup] Remove DCHECK from third_party

DCHECKs (defined in src/logging.h) should not be used in third_party
code. This CL removes the only such use.

R=marja@chromium.org

Bug: v8:7754, v8:7965
Change-Id: I44196bd2d85e459e27c6a897f039f741edf1e2e1
Reviewed-on: https://chromium-review.googlesource.com/1158684Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54967}
parent 13cb0504
...@@ -67,7 +67,6 @@ static inline void Decode(uint8_t byte, State* state, uint32_t* buffer) { ...@@ -67,7 +67,6 @@ static inline void Decode(uint8_t byte, State* state, uint32_t* buffer) {
0, 0, 36, 36, 0, 0, 0, 0, 0, 0, 0, 0, // 4-byte mid/high = 96 0, 0, 36, 36, 0, 0, 0, 0, 0, 0, 0, 0, // 4-byte mid/high = 96
}; };
DCHECK_NE(*state, State::kReject);
uint8_t type = transitions[byte]; uint8_t type = transitions[byte];
*state = static_cast<State>(states[*state + type]); *state = static_cast<State>(states[*state + type]);
*buffer = (*buffer << 6) | (byte & (0x7F >> (type >> 1))); *buffer = (*buffer << 6) | (byte & (0x7F >> (type >> 1)));
......
...@@ -41,7 +41,6 @@ AUTO_EXCLUDE = [ ...@@ -41,7 +41,6 @@ AUTO_EXCLUDE = [
'src/parsing/preparser.h', 'src/parsing/preparser.h',
'src/regexp/jsregexp.h', 'src/regexp/jsregexp.h',
'src/snapshot/object-deserializer.h', 'src/snapshot/object-deserializer.h',
'src/third_party/utf8-decoder/utf8-decoder.h',
'src/transitions.h', 'src/transitions.h',
] ]
AUTO_EXCLUDE_PATTERNS = [ AUTO_EXCLUDE_PATTERNS = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment