Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c446f2d374f4ed0c2bdaabb35d5e184b5f9e45fb
https://github.com/WebKit/WebKit/commit/c446f2d374f4ed0c2bdaabb35d5e184b5f9e45fb
Author: Chris Dumez <[email protected]>
Date: 2026-04-02 (Thu, 02 Apr 2026)
Changed paths:
M Source/JavaScriptCore/parser/Lexer.cpp
Log Message:
-----------
Drop redundant `remaining < maxTokenLength` checks in Lexer.cpp
https://bugs.webkit.org/show_bug.cgi?id=311319
Reviewed by Yusuke Suzuki.
The outer `if` check already checks this so the condition will always
be true and can be removed.
* Source/JavaScriptCore/parser/Lexer.cpp:
(JSC::Lexer<Latin1Character>::parseIdentifier):
(JSC::Lexer<char16_t>::parseIdentifier):
Canonical link: https://commits.webkit.org/310427@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications