Bug 207413 - Replace redundant functions with variadic template function.
Summary: Replace redundant functions with variadic template function.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Basuke Suzuki
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-02-07 15:23 PST by Basuke Suzuki
Modified: 2020-02-09 21:50 PST (History)
10 users (show)

See Also:


Attachments
PATCH (2.27 KB, patch)
2020-02-07 15:35 PST, Basuke Suzuki
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Basuke Suzuki 2020-02-07 15:23:35 PST
With variadic template function, there is no need to maintain the versions with variety number of arguments.
Comment 1 Basuke Suzuki 2020-02-07 15:31:58 PST
This code generates exact same result with the original.
https://godbolt.org/z/iwzGAP
Comment 2 Basuke Suzuki 2020-02-07 15:35:28 PST
Created attachment 390139 [details]
PATCH
Comment 3 WebKit Commit Bot 2020-02-09 21:49:50 PST
Comment on attachment 390139 [details]
PATCH

Clearing flags on attachment: 390139

Committed r256110: <https://trac.webkit.org/changeset/256110>
Comment 4 WebKit Commit Bot 2020-02-09 21:49:52 PST
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2020-02-09 21:50:16 PST
<rdar://problem/59301380>