Ignore:
Timestamp:
Sep 19, 2011, 8:35:49 PM (14 years ago)
Author:
[email protected]
Message:

Removed ENABLE_JSC_MULTIPLE_THREADS and related #ifdefs.
https://bugs.webkit.org/show_bug.cgi?id=68422

As discussed on webkit-dev. All ports build with threads enabled in JSC now.

This may break WinCE and other ports that have not built and tested with
this configuration. I've filed bugs for port maintainers. It's time for
WebKit to move forward.

Reviewed by Sam Weinig.

  • API/APIShims.h:

(JSC::APIEntryShimWithoutLock::APIEntryShimWithoutLock):

  • API/JSContextRef.cpp:
  • heap/MachineStackMarker.cpp:

(JSC::MachineThreads::MachineThreads):
(JSC::MachineThreads::~MachineThreads):
(JSC::MachineThreads::gatherConservativeRoots):

  • heap/MachineStackMarker.h:
  • runtime/InitializeThreading.cpp:

(JSC::initializeThreadingOnce):
(JSC::initializeThreading):

  • runtime/JSGlobalData.cpp:

(JSC::JSGlobalData::sharedInstance):

  • runtime/JSGlobalData.h:

(JSC::JSGlobalData::makeUsableFromMultipleThreads):

  • runtime/JSLock.cpp:
  • runtime/Structure.cpp:
  • wtf/Platform.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/JSGlobalData.cpp

    r95507 r95510  
    5151#include "Nodes.h"
    5252#include "Parser.h"
     53#if ENABLE(REGEXP_TRACING)
     54#include "RegExp.h"
     55#endif
    5356#include "RegExpCache.h"
    5457#include "RegExpObject.h"
    5558#include "StrictEvalActivation.h"
     59#include <wtf/Threading.h>
    5660#include <wtf/WTFThreadData.h>
    57 #if ENABLE(REGEXP_TRACING)
    58 #include "RegExp.h"
    59 #endif
    60 
    61 
    62 #if ENABLE(JSC_MULTIPLE_THREADS)
    63 #include <wtf/Threading.h>
    64 #endif
    65 
    6661#if PLATFORM(MAC)
    6762#include <CoreFoundation/CoreFoundation.h>
     
    388383    if (!instance) {
    389384        instance = adoptRef(new JSGlobalData(APIShared, ThreadStackTypeSmall, SmallHeap)).leakRef();
    390 #if ENABLE(JSC_MULTIPLE_THREADS)
    391385        instance->makeUsableFromMultipleThreads();
    392 #endif
    393386    }
    394387    return *instance;
Note: See TracChangeset for help on using the changeset viewer.