Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5d0b9adc2945e30d8bb92a6ebe31b0c745b4c667
https://github.com/WebKit/WebKit/commit/5d0b9adc2945e30d8bb92a6ebe31b0c745b4c667
Author: Rose <[email protected]>
Date: 2024-01-10 (Wed, 10 Jan 2024)
Changed paths:
M Source/JavaScriptCore/runtime/Options.cpp
M Source/JavaScriptCore/tools/FunctionOverrides.cpp
Log Message:
-----------
[JavaScriptCore] strstr->strchr when string is only one letter long
https://bugs.webkit.org/show_bug.cgi?id=267351
Reviewed by Michael Catanzaro.
Instead of having to find a whole string, we can just find the char we
need.
* Source/JavaScriptCore/runtime/Options.cpp: strstr->strchr
(JSC::Options::setOptions): Ditto.
* Source/JavaScriptCore/tools/FunctionOverrides.cpp: Ditto.
(JSC::parseClause): Ditto.
Canonical link: https://commits.webkit.org/272859@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes