Bug 183399

Summary: Simplify the variants of FunctionPtr constructors.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ews-watchlist, fpizlo, jfbastien, keith_miller, msaboff, rmorisset, saam, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch. ysuzuki: review+, commit-queue: commit-queue-

Description Mark Lam 2018-03-07 00:44:37 PST
We should able to use a templatized constructor instead of explicitly declaring variants based on function prototypes.
Comment 1 Radar WebKit Bug Importer 2018-03-07 00:45:05 PST
<rdar://problem/38212980>
Comment 2 Mark Lam 2018-03-07 00:58:23 PST
Created attachment 335177 [details]
proposed patch.
Comment 3 Yusuke Suzuki 2018-03-07 08:03:03 PST
Comment on attachment 335177 [details]
proposed patch.

Nice, r=me.
Comment 4 Mark Lam 2018-03-07 09:43:12 PST
Comment on attachment 335177 [details]
proposed patch.

Thanks for the review.  Let's land this.
Comment 5 WebKit Commit Bot 2018-03-07 10:21:45 PST
Comment on attachment 335177 [details]
proposed patch.

Rejecting attachment 335177 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-01', 'land-attachment', '--force-clean', '--non-interactive', '--parent-command=commit-queue', 335177, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit

Last 500 characters of output:
st, rewinding head to replay your work on top of it...
Fast-forwarded master to refs/remotes/origin/master.
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
error: The last gc run reported the following. Please correct the root cause
and remove /Volumes/Data/EWS/WebKit/.git/gc.log.
Automatic cleanup will not be performed until the file is removed.

warning: There are too many unreachable loose objects; run 'git prune' to remove them.


Full output: http://webkit-queues.webkit.org/results/6841108
Comment 6 Mark Lam 2018-03-07 10:27:57 PST
Landed in r229367: <https://trac.webkit.org/r229367>.