RESOLVED FIXED 174366
Use FastAllocator in STL containers
https://bugs.webkit.org/show_bug.cgi?id=174366
Summary Use FastAllocator in STL containers
Yusuke Suzuki
Reported 2017-07-11 09:36:20 PDT
Use FastAllocator in STL containers
Attachments
Patch (27.92 KB, patch)
2017-07-11 09:38 PDT, Yusuke Suzuki
no flags
Patch for landing (28.66 KB, patch)
2017-07-11 22:06 PDT, Yusuke Suzuki
no flags
Patch (1.46 KB, patch)
2017-07-12 02:09 PDT, Yusuke Suzuki
no flags
Yusuke Suzuki
Comment 1 2017-07-11 09:38:22 PDT
Sam Weinig
Comment 2 2017-07-11 14:11:10 PDT
Comment on attachment 315117 [details] Patch rs=me when it compiles.
Yusuke Suzuki
Comment 3 2017-07-11 22:06:38 PDT
Created attachment 315205 [details] Patch for landing Patch for landing
Yusuke Suzuki
Comment 4 2017-07-11 22:42:42 PDT
Yusuke Suzuki
Comment 5 2017-07-12 01:58:59 PDT
Hmmmm, while windows EWS is green, build bot is failing. Investigating...
Yusuke Suzuki
Comment 6 2017-07-12 02:09:22 PDT
Reopening to attach new patch.
Yusuke Suzuki
Comment 7 2017-07-12 02:09:24 PDT
Yusuke Suzuki
Comment 8 2017-07-12 03:11:28 PDT
Darin Adler
Comment 9 2017-07-13 10:46:36 PDT
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.
Yusuke Suzuki
Comment 10 2017-07-13 19:53:02 PDT
(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!
Yusuke Suzuki
Comment 11 2017-07-13 19:53:29 PDT
Note You need to log in before you can comment on or make changes to this bug.