Bug 295147
| Summary: | [JSC] Fold `RegExp#@@search` at DFG StrengthReduction phase | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sosuke Suzuki <sosuke> |
| Component: | JavaScriptCore | Assignee: | 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
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
Pull request: https://github.com/WebKit/WebKit/pull/47337
Radar WebKit Bug Importer
<rdar://problem/155092006>
EWS
Committed 297859@main (ec89a5102de0): <https://commits.webkit.org/297859@main>
Reviewed commits have been landed. Closing PR #47337 and removing active labels.