Bug 125976 - DoublyLinkedLists can't be concatenated
Summary: DoublyLinkedLists can't be concatenated
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Hahnenberg
URL:
Keywords:
Depends on:
Blocks: 121074
  Show dependency treegraph
 
Reported: 2013-12-18 20:11 PST by Mark Hahnenberg
Modified: 2014-01-06 09:37 PST (History)
3 users (show)

See Also:


Attachments
Patch (1.74 KB, patch)
2013-12-18 20:57 PST, Mark Hahnenberg
fpizlo: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>