Ignore:
Timestamp:
Jul 31, 2008, 1:44:58 AM (17 years ago)
Author:
[email protected]
Message:

Reviewed by Alexey Proskuryakov.

Rename USE(MULTIPLE_THREADS) to ENABLE(JSC_MULTIPLE_THREADS)
to better match the use/enable pattern (and better describe
the usage of the feature in question.)

I also fixed a couple other ENABLE_ macros to be pre-processor
definition override-able to match the rest of the ENABLE_ macros
since it seems to be our convention that build systems can set
ENABLE_ macros in Makefiles.

  • kjs/InitializeThreading.cpp: (KJS::initializeThreadingOnce):
  • kjs/JSGlobalData.cpp: (KJS::JSGlobalData::JSGlobalData): (KJS::JSGlobalData::~JSGlobalData):
  • kjs/MathObject.cpp:
  • kjs/collector.cpp: (KJS::Heap::Heap): (KJS::Heap::~Heap): (KJS::allocateBlock): (KJS::Heap::markStackObjectsConservatively):
  • kjs/collector.h:
  • kjs/dtoa.cpp: (KJS::pow5mult): (KJS::rv_alloc): (KJS::freedtoa): (KJS::dtoa):
  • wtf/FastMalloc.cpp:
  • wtf/Platform.h:
  • wtf/RefCountedLeakCounter.cpp:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/InitializeThreading.cpp

    r35159 r35476  
    4747{
    4848    WTF::initializeThreading();
    49 #if USE(MULTIPLE_THREADS)
     49#if ENABLE(JSC_MULTIPLE_THREADS)
    5050    s_dtoaP5Mutex = new Mutex;
    5151    UString::null();
     
    5656void initializeThreading()
    5757{
    58 #if PLATFORM(DARWIN) && USE(MULTIPLE_THREADS)
     58#if PLATFORM(DARWIN) && ENABLE(JSC_MULTIPLE_THREADS)
    5959    pthread_once(&initializeThreadingKeyOnce, initializeThreadingOnce);
    6060#else
Note: See TracChangeset for help on using the changeset viewer.