Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information