RESOLVED FIXED290249
[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
Sosuke Suzuki
Comment 1 2025-03-22 03:42:13 PDT
Sosuke Suzuki
Comment 2 2025-03-22 22:48:34 PDT
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
Note You need to log in before you can comment on or make changes to this bug.