[webkit-changes] [WebKit/WebKit] 52f1f9: Fix Lexer build with -Werror=type-limits
Olivier Blin
noreply at github.com
Fri Dec 1 10:38:36 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 52f1f953c77c19fc87019d0a8d50d08d6cbaa02e
https://github.com/WebKit/WebKit/commit/52f1f953c77c19fc87019d0a8d50d08d6cbaa02e
Author: Olivier Blin <olivier.blin at softathome.com>
Date: 2023-12-01 (Fri, 01 Dec 2023)
Changed paths:
M Source/JavaScriptCore/parser/Lexer.cpp
Log Message:
-----------
Fix Lexer build with -Werror=type-limits
https://bugs.webkit.org/show_bug.cgi?id=265676
Reviewed by Darin Adler.
After 271373 at main which uses char32_t instead of UChar32, build of
Lexer.cpp was broken with -Werror=type-limits
codePoint is now always positive, remove the assert.
* Source/JavaScriptCore/parser/Lexer.cpp:
(JSC::Lexer<CharacterType>::recordUnicodeCodePoint):
Canonical link: https://commits.webkit.org/271393@main
More information about the webkit-changes
mailing list