WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
295147
[JSC] Fold `RegExp#@@search` at DFG StrengthReduction phase
https://bugs.webkit.org/show_bug.cgi?id=295147
Summary
[JSC] Fold `RegExp#@@search` at DFG StrengthReduction phase
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
Add attachment
proposed patch, testcase, etc.
Sosuke Suzuki
Comment 1
2025-06-28 02:32:21 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/47337
Radar WebKit Bug Importer
Comment 2
2025-07-05 02:24:13 PDT
<
rdar://problem/155092006
>
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.
Top of Page
Format For Printing
XML
Clone This Bug