Changeset 50171 in webkit
- Timestamp:
- Oct 27, 2009 2:04:20 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/StdLibExtras.h
r46598 r50171 33 33 // it is leaked so that its destructors are not called at exit. Using this 34 34 // macro also allows workarounds a compiler bug present in Apple's version of GCC 4.0.1. 35 #ifndef DEFINE_STATIC_LOCAL 35 36 #if COMPILER(GCC) && defined(__APPLE_CC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 0 && __GNUC_PATCHLEVEL__ == 1 36 37 #define DEFINE_STATIC_LOCAL(type, name, arguments) \ … … 40 41 #define DEFINE_STATIC_LOCAL(type, name, arguments) \ 41 42 static type& name = *new type arguments 43 #endif 42 44 #endif 43 45 -
trunk/WebCore/ChangeLog
r50170 r50171 1 2009-10-27 Carol Szabo <carol.szabo@nokia.com> 2 3 Reviewed by Darin Adler. 4 5 Give an ability to WebKit to free statically allocated pointers 6 before quit. 7 https://bugs.webkit.org/show_bug.cgi?id=27980 8 9 No new tests for this as the change does not affect WebKit 10 functionality, but only memory usage. 11 12 * JavaScriptCore/wtf/StdLibExtras.h: 13 Allowed for the override of DEFINE_STATIC_LOCAL via compiler 14 commandline options or elsewhere in the code. Useful for 15 implementing custom builds that free resources allocated via 16 DEFINE_STATIC_LOCAL. 17 1 18 2009-10-27 Dumitru Daniliuc <dumi@chromium.org> 2 19
Note: See TracChangeset
for help on using the changeset viewer.