Summary: | Use FastAllocator in STL containers | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> | ||||||||
Component: | New Bugs | Assignee: | Yusuke Suzuki <ysuzuki> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | benjamin, buildbot, cdumez, cmarcelo, darin, dbates, sam | ||||||||
Priority: | P2 | ||||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Yusuke Suzuki
2017-07-11 09:36:20 PDT
Created attachment 315117 [details]
Patch
Comment on attachment 315117 [details]
Patch
rs=me when it compiles.
Created attachment 315205 [details]
Patch for landing
Patch for landing
Committed r219383: <http://trac.webkit.org/changeset/219383> Hmmmm, while windows EWS is green, build bot is failing. Investigating... Reopening to attach new patch. Created attachment 315217 [details]
Patch
Committed r219386: <http://trac.webkit.org/changeset/219386> Comment on attachment 315217 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=315217&action=review > Source/WTF/wtf/FastMalloc.h:130 > +template<typename T, typename U> bool operator==(const FastAllocator<T>&, const FastAllocator<U>&) { return true; } > +template<typename T, typename U> bool operator!=(const FastAllocator<T>&, const FastAllocator<U>&) { return false; } Should have "inline" on both of these. (In reply to Darin Adler from comment #9) > Comment on attachment 315217 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=315217&action=review > > > Source/WTF/wtf/FastMalloc.h:130 > > +template<typename T, typename U> bool operator==(const FastAllocator<T>&, const FastAllocator<U>&) { return true; } > > +template<typename T, typename U> bool operator!=(const FastAllocator<T>&, const FastAllocator<U>&) { return false; } > > Should have "inline" on both of these. Oops, right. Fixed. Thank you! Committed r219491: <http://trac.webkit.org/changeset/219491> |