Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 845aa67555b345a1633b8d031f3ed2253c8e3083
      
https://github.com/WebKit/WebKit/commit/845aa67555b345a1633b8d031f3ed2253c8e3083
  Author: Yusuke Suzuki <[email protected]>
  Date:   2025-07-19 (Sat, 19 Jul 2025)

  Changed paths:
    M Source/JavaScriptCore/yarr/YarrJIT.cpp

  Log Message:
  -----------
  [JSC] Inline fast path of Unicode reading part in YarrJIT
https://bugs.webkit.org/show_bug.cgi?id=296211
rdar://156179713

Reviewed by Daniel Liu.

This patch inlines the fast path of unicode character reading in
YarrJIT. We identified that reading thunk is really hot since it is
called for each character, and inlining this is really helpful.
We should not entirely inline it. We should do it only for the fast
path.

* Source/JavaScriptCore/yarr/YarrJIT.cpp:
(JSC::Yarr::tryReadUnicodeCharImpl):
(JSC::Yarr::tryReadUnicodeCharSlowImpl):
(JSC::Yarr::tryReadUnicodeCharSlowThunkGenerator):
(JSC::Yarr::tryReadUnicodeCharIncForNonBMPSlowThunkGenerator):
(JSC::Yarr::tryReadUnicodeCharThunkGenerator): Deleted.
(JSC::Yarr::tryReadUnicodeCharIncForNonBMPThunkGenerator): Deleted.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to