Bug 288899
| Summary: | [JSC] Use template parameter for `trimString` function | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sosuke Suzuki <sosuke> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sosuke Suzuki
The `trimString` function, used by `String#trim`, `String#trimStart`, and `String#trimEnd`,
takes an argument called `trimKind`. Since this value is determined at compile time, this
patch changes `trimKind` to be a template parameter.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sosuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/41698
EWS
Committed 291427@main (040bf5c5c8b0): <https://commits.webkit.org/291427@main>
Reviewed commits have been landed. Closing PR #41698 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/145903742>