Description[regexp] Fix incorrect DCHECK in FixSingleCharacterDisjunctions
The condition only applies in unicode mode, where any lone surrogates
are desugared into a character class (and will not be considered in this
optimization). Non-unicode mode treats lone surrogates exactly like
any other codepoint.
BUG=chromium:711092
Review-Url: https://codereview.chromium.org/2808403006
Cr-Commit-Position: refs/heads/master@{#44638}
Committed: https://chromium.googlesource.com/v8/v8/+/876e23c54d5fa2cb2a399632175d94e597da5330
Patch Set 1 #Patch Set 2 : Tests #
Messages
Total messages: 16 (12 generated)
|