Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c1d34821e09a47b5e22e73e20ed5fed4b749e30e
      
https://github.com/WebKit/WebKit/commit/c1d34821e09a47b5e22e73e20ed5fed4b749e30e
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-06-29 (Mon, 29 Jun 2026)

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

  Log Message:
  -----------
  [YARR] Use m_latin1Table in Char16 case & interpreter
https://bugs.webkit.org/show_bug.cgi?id=318079
rdar://180873581

Reviewed by Yijia Huang.

If CharacterClass holds m_latin1Table and no m_matches32 / m_ranges32 exist,
This is latin1 only CharacterClass. So we can use this table even in Char16
case with 0x100 guard. We also add the code using this table in
interpreter too.

* Source/JavaScriptCore/yarr/YarrInterpreter.cpp:
(JSC::Yarr::Interpreter::testCharacterClass):
* Source/JavaScriptCore/yarr/YarrJIT.cpp:

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



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

Reply via email to