Changeset 56066 in webkit
- Timestamp:
- Mar 16, 2010 9:19:50 AM (14 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r56062 r56066 1 2010-03-16 Zoltan Horvath <zoltan@webkit.org> 2 3 Reviewed by Darin Adler. 4 5 Remove extra <new> include and add guards to operator new/delete definitions 6 https://bugs.webkit.org/show_bug.cgi?id=35967 7 8 Remove extra <new> header include from FastAlloc.cpp since it is included in 9 FastAlloc.h. Add ENABLE(GLOBAL_FASTMALLOC_NEW) macro guard to operator 10 new/delete/new []/delete [] definitions. 11 12 * wtf/FastMalloc.cpp: 13 1 14 2010-03-15 Kwang Yul Seo <skyul@company100.net> 2 15 -
trunk/JavaScriptCore/wtf/FastMalloc.cpp
r56029 r56066 418 418 #include <errno.h> 419 419 #include <limits> 420 #include <new>421 420 #include <pthread.h> 422 421 #include <stdarg.h> … … 3943 3942 } 3944 3943 3944 #if ENABLE(GLOBAL_FASTMALLOC_NEW) 3945 3945 3946 void* operator new(size_t size) { 3946 3947 void* p = cpp_alloc(size, false); … … 3996 3997 do_free(p); 3997 3998 } 3999 4000 #endif 3998 4001 3999 4002 extern "C" void* memalign(size_t align, size_t size) __THROW {
Note: See TracChangeset
for help on using the changeset viewer.