Bug 125976

Summary: DoublyLinkedLists can't be concatenated
Product: WebKit Reporter: Mark Hahnenberg <mhahnenberg>
Component: JavaScriptCoreAssignee: Mark Hahnenberg <mhahnenberg>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cmarcelo, commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 121074    
Attachments:
Description Flags
Patch fpizlo: review+

Description Mark Hahnenberg 2013-12-18 20:11:05 PST
It would be useful to be able to do so.
Comment 1 Mark Hahnenberg 2013-12-18 20:57:52 PST
Created attachment 219611 [details]
Patch
Comment 2 Geoffrey Garen 2013-12-18 21:45:40 PST
Comment on attachment 219611 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=219611&action=review

> Source/WTF/wtf/DoublyLinkedList.h:85
> +    void concat(DoublyLinkedList<T>&);

Maybe call this append? concat is less clear about where the elements go (head or tail).
Comment 3 Mark Hahnenberg 2014-01-06 09:37:34 PST
Committed r161349: <http://trac.webkit.org/changeset/161349>