Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 98d1969d3ca5c58b8ed685c6b3e4f252ddc8587c
      
https://github.com/WebKit/WebKit/commit/98d1969d3ca5c58b8ed685c6b3e4f252ddc8587c
  Author: Sosuke Suzuki <[email protected]>
  Date:   2026-02-05 (Thu, 05 Feb 2026)

  Changed paths:
    A JSTests/microbenchmarks/regexp-backreference-matchonly.js
    A JSTests/stress/regexp-backreference-matchonly.js
    M Source/JavaScriptCore/yarr/YarrJIT.cpp

  Log Message:
  -----------
  [YARR] Add JIT support for backreference in MatchOnly mode
https://bugs.webkit.org/show_bug.cgi?id=306511

Reviewed by Yusuke Suzuki.

Previously, backreferences in MatchOnly mode fell back to the interpreter
because there was no output buffer to store subpattern captures. This patch
adds internal frame storage for subpattern data, enabling JIT compilation
of patterns with backreferences even in MatchOnly mode.

                                        TipOfTree                  Patched

regexp-backreference-matchonly      517.8507+-3.2870     ^    107.9545+-4.0184  
      ^ definitely 4.7969x faster

* JSTests/microbenchmarks/regexp-backreference-matchonly.js: Added.
* JSTests/stress/regexp-backreference-matchonly.js: Added.
(testMatchOnly):
(testMatchOnly.x.a):
* Source/JavaScriptCore/yarr/YarrJIT.cpp:

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



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

Reply via email to