| Summary: | Use StringView for Yarr / RegularExpression parsing | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||
| Component: | JavaScriptCore | Assignee: | Chris Dumez <cdumez> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | benjamin, cmarcelo, darin, eric.carlson, ews-watchlist, ggaren, glenn, jer.noble, keith_miller, mark.lam, msaboff, philipj, saam, sam, sergio, tzagallo, webkit-bug-importer, ysuzuki | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Chris Dumez
2022-03-26 16:01:49 PDT
Created attachment 455857 [details]
Patch
Committed r291972 (248936@main): <https://commits.webkit.org/248936@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 455857 [details]. Comment on attachment 455857 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=455857&action=review > Source/JavaScriptCore/yarr/YarrJIT.cpp:4655 > + StringView m_patternString; This could be const StringView. (In reply to Darin Adler from comment #4) > Comment on attachment 455857 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=455857&action=review > > > Source/JavaScriptCore/yarr/YarrJIT.cpp:4655 > > + StringView m_patternString; > > This could be const StringView. Fixed in <https://commits.webkit.org/r291997>. |