Bug 295147

Summary: [JSC] Fold `RegExp#@@search` at DFG StrengthReduction phase
Product: WebKit Reporter: Sosuke Suzuki <sosuke>
Component: JavaScriptCoreAssignee: Sosuke Suzuki <sosuke>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Sosuke Suzuki
Reported 2025-06-28 02:23:23 PDT
JSC handles RegExp#exec, RegExp#test and RegExp#match in the DFG StrengthReduction phase for constant folding optimization. This patch changes to exted the same optimization to the `RegExpSearch` node that was added in https://commits.webkit.org/296443@main.
Attachments
Sosuke Suzuki
Comment 1 2025-06-28 02:32:21 PDT
Radar WebKit Bug Importer
Comment 2 2025-07-05 02:24:13 PDT
EWS
Comment 3 2025-07-25 06:09:09 PDT
Committed 297859@main (ec89a5102de0): <https://commits.webkit.org/297859@main> Reviewed commits have been landed. Closing PR #47337 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.