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
290249
[JSC] Move String#search related JIT operations from `runtime/StringPrototype` to `dfg/DFGOperations`
https://bugs.webkit.org/show_bug.cgi?id=290249
Summary
[JSC] Move String#search related JIT operations from `runtime/StringPrototype...
Sosuke Suzuki
Reported
2025-03-22 01:01:56 PDT
Unlike many other JIT operations, the definitions and declarations of the JIT operations related to `String#search` and `String#searchAll` are located in `runtime/StringPrototype.h` and `runtime/StringPrototype.cpp`, rather than in `dfg/DFGOperations.h` and `dfg/DFGOperations.cpp`. This patch moves those JIT operations to `dfg/DFGOperations` for consistency with the rest of the codebase. It also moves dependent functions from `StringPrototype.cpp` to `StringPrototypeInlines.h`(The logic of the functions remains completely unchanged).
Attachments
Add attachment
proposed patch, testcase, etc.
Sosuke Suzuki
Comment 1
2025-03-22 03:42:13 PDT
depends on
https://bugs.webkit.org/show_bug.cgi?id=290251
Sosuke Suzuki
Comment 2
2025-03-22 22:48:34 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/42900
EWS
Comment 3
2025-03-23 01:02:28 PDT
Committed
292557@main
(b2323ec6eaf6): <
https://commits.webkit.org/292557@main
> Reviewed commits have been landed. Closing PR #42900 and removing active labels.
Radar WebKit Bug Importer
Comment 4
2025-03-23 01:03:13 PDT
<
rdar://problem/147680565
>
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