Ignore:
Timestamp:
Nov 12, 2009, 3:39:23 PM (16 years ago)
Author:
[email protected]
Message:

Revert "Export fastMalloc, fastCalloc, fastRealloc and fastFree on GCC/Unix"

This reverts commit d3f6ad156fc2ba883fdff85e7121bee9537cd021.

Conflicts:

JavaScriptCore/ChangeLog

File:
1 edited

Legend:

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

    r50204 r50911  
    2727#include <new>
    2828
    29 #if COMPILER(GCC)
    30 #define WTF_FAST_MALLOC_EXPORT __attribute__((visibility("default")))
    31 #else
    32 #define WTF_FAST_MALLOC_EXPORT
    33 #endif
    34 
    3529namespace WTF {
    3630
    3731    // These functions call CRASH() if an allocation fails.
    38     void* fastMalloc(size_t) WTF_FAST_MALLOC_EXPORT;
     32    void* fastMalloc(size_t);
    3933    void* fastZeroedMalloc(size_t);
    40     void* fastCalloc(size_t numElements, size_t elementSize) WTF_FAST_MALLOC_EXPORT;
    41     void* fastRealloc(void*, size_t) WTF_FAST_MALLOC_EXPORT;
     34    void* fastCalloc(size_t numElements, size_t elementSize);
     35    void* fastRealloc(void*, size_t);
    4236
    4337    struct TryMallocReturnValue {
     
    7872    TryMallocReturnValue tryFastRealloc(void* p, size_t n);
    7973
    80     void fastFree(void*) WTF_FAST_MALLOC_EXPORT;
     74    void fastFree(void*);
    8175
    8276#ifndef NDEBUG   
Note: See TracChangeset for help on using the changeset viewer.