Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 52f1f953c77c19fc87019d0a8d50d08d6cbaa02e
      
https://github.com/WebKit/WebKit/commit/52f1f953c77c19fc87019d0a8d50d08d6cbaa02e
  Author: Olivier Blin <[email protected]>
  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@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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to