Ignore:
Timestamp:
Jun 13, 2007, 7:23:29 PM (18 years ago)
Author:
lars
Message:

Disable FastMalloc for the Qt build and make sure we
don't reimplement the global new/delete operators
when using the system malloc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/FastMalloc.h

    r21783 r23515  
    6262#ifndef _CRTDBG_MAP_ALLOC
    6363
     64#if !(USE_SYSTEM_MALLOC)
    6465WTF_PRIVATE_INLINE void* operator new(size_t s) { return fastMalloc(s); }
    6566WTF_PRIVATE_INLINE void operator delete(void* p) { fastFree(p); }
    6667WTF_PRIVATE_INLINE void* operator new[](size_t s) { return fastMalloc(s); }
    6768WTF_PRIVATE_INLINE void operator delete[](void* p) { fastFree(p); }
     69#endif
    6870
    6971#endif // _CRTDBG_MAP_ALLOC
Note: See TracChangeset for help on using the changeset viewer.