Bug 207413

Summary: Replace redundant functions with variadic template function.
Product: WebKit Reporter: Basuke Suzuki <Basuke.Suzuki>
Component: WebCore Misc.Assignee: Basuke Suzuki <Basuke.Suzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, Basuke.Suzuki, cdumez, commit-queue, darin, dbates, ews-watchlist, japhet, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
PATCH none

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>