Changeset 83704 in webkit
- Timestamp:
- Apr 12, 2011 11:45:26 PM (13 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r83669 r83704 1 2011-04-12 Ben Taylor <bentaylor.solx86@gmail.com> 2 3 Reviewed by Alexey Proskuryakov. 4 5 https://bugs.webkit.org/show_bug.cgi?id=58131 6 7 Provide a workaround for an obscure Studio 12 compiler bug, which 8 couldn't call src->~T() on a const T *src. 9 10 * wtf/Vector.h: 11 1 12 2011-04-12 Gavin Barraclough <barraclough@apple.com> 2 13 -
trunk/Source/JavaScriptCore/wtf/Vector.h
r82212 r83704 130 130 while (src != srcEnd) { 131 131 new (dst) T(*src); 132 #if COMPILER(SUNCC) && __SUNPRO_CC <= 0x590 133 const_cast<T*>(src)->~T(); // Work around obscure SunCC 12 compiler bug. 134 #else 132 135 src->~T(); 136 #endif 133 137 ++dst; 134 138 ++src;
Note: See TracChangeset
for help on using the changeset viewer.