Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8084e23a05dde736384f08c8a090625ea0f58134
      
https://github.com/WebKit/WebKit/commit/8084e23a05dde736384f08c8a090625ea0f58134
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-04-08 (Wed, 08 Apr 2026)

  Changed paths:
    M Source/JavaScriptCore/dfg/DFGOperations.cpp
    M Source/JavaScriptCore/runtime/JSModuleNamespaceObject.cpp
    M Source/JavaScriptCore/runtime/JSONObject.cpp
    M Source/JavaScriptCore/runtime/Operations.h
    M Source/JavaScriptCore/runtime/RegExpConstructor.cpp
    M Source/WTF/wtf/text/AtomString.h
    M Source/WTF/wtf/text/StringImpl.h
    M Source/WTF/wtf/text/StringView.cpp
    M Source/WTF/wtf/text/StringView.h
    M Source/WTF/wtf/text/WTFString.cpp
    M Source/WTF/wtf/text/WTFString.h

  Log Message:
  -----------
  [JSC] More JSString::view call adoption
https://bugs.webkit.org/show_bug.cgi?id=311687
rdar://problem/174301504

Reviewed by Mark Lam and Sosuke Suzuki.

Apply JSString::view more broadly in various JS operations to avoid
resolving ropes unnecessarily.

* Source/JavaScriptCore/dfg/DFGOperations.cpp:
(JSC::DFG::JSC_DEFINE_JIT_OPERATION):
* Source/JavaScriptCore/runtime/JSModuleNamespaceObject.cpp:
(JSC::JSModuleNamespaceObject::finishCreation):
* Source/JavaScriptCore/runtime/JSONObject.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/JavaScriptCore/runtime/Operations.h:
(JSC::compareBigIntToOtherPrimitive):
(JSC::compareBigInt32ToOtherPrimitive):
(JSC::jsLess):
(JSC::jsLessEq):
* Source/JavaScriptCore/runtime/RegExpConstructor.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/WTF/wtf/text/AtomString.h:
(WTF::codePointCompare): Deleted.
* Source/WTF/wtf/text/StringImpl.h:
(WTF::codePointCompare):
* Source/WTF/wtf/text/StringView.cpp:
(WTF::codePointCompare):
* Source/WTF/wtf/text/StringView.h:
(WTF::codePointCompareLessThan):
* Source/WTF/wtf/text/WTFString.cpp:
(WTF::codePointCompare): Deleted.
* Source/WTF/wtf/text/WTFString.h:
(WTF::codePointCompareLessThan): Deleted.

Canonical link: https://commits.webkit.org/310816@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to