Ignore:
Timestamp:
Jun 19, 2014, 9:32:31 AM (11 years ago)
Author:
Dániel Bátyai
Message:

Remove ENABLE(LLINT) and ENABLE(LLINT_C_LOOP) guards
https://bugs.webkit.org/show_bug.cgi?id=130389

Reviewed by Mark Lam.

Removed ENABLE(LLINT) since we always build with it, and changed ENABLE(LLINT_C_LOOP)
into !ENABLE(JIT) since they are mutually exclusive.

.:

  • Source/cmake/OptionsEfl.cmake:
  • Source/cmake/OptionsGTK.cmake:
  • Source/cmake/WebKitFeatures.cmake:
  • Source/cmakeconfig.h.cmake:

Source/JavaScriptCore:

  • CMakeLists.txt:
  • assembler/MacroAssemblerCodeRef.h:

(JSC::MacroAssemblerCodePtr::createLLIntCodePtr):
(JSC::MacroAssemblerCodeRef::createLLIntCodeRef):

  • assembler/MaxFrameExtentForSlowPathCall.h:
  • bytecode/CallLinkStatus.cpp:

(JSC::CallLinkStatus::computeFromLLInt):

  • bytecode/CodeBlock.cpp:

(JSC::dumpStructure):
(JSC::CodeBlock::printGetByIdCacheStatus):
(JSC::CodeBlock::printCallOp):
(JSC::CodeBlock::CodeBlock):
(JSC::CodeBlock::~CodeBlock):
(JSC::CodeBlock::propagateTransitions):
(JSC::CodeBlock::finalizeUnconditionally):
(JSC::CodeBlock::unlinkCalls):
(JSC::CodeBlock::unlinkIncomingCalls):
(JSC::CodeBlock::linkIncomingCall):
(JSC::CodeBlock::frameRegisterCount):

  • bytecode/CodeBlock.h:
  • bytecode/GetByIdStatus.cpp:

(JSC::GetByIdStatus::computeFromLLInt):

  • bytecode/Opcode.h:

(JSC::padOpcodeName):

  • bytecode/PutByIdStatus.cpp:

(JSC::PutByIdStatus::computeFromLLInt):

  • bytecompiler/BytecodeGenerator.cpp:

(JSC::BytecodeGenerator::emitCall):
(JSC::BytecodeGenerator::emitConstruct):

  • heap/Heap.cpp:

(JSC::Heap::gatherJSStackRoots):

  • interpreter/Interpreter.cpp:

(JSC::Interpreter::initialize):
(JSC::Interpreter::isOpcode):

  • interpreter/Interpreter.h:

(JSC::Interpreter::getOpcodeID):

  • interpreter/JSStack.cpp:

(JSC::JSStack::JSStack):
(JSC::JSStack::committedByteCount):

  • interpreter/JSStack.h:
  • interpreter/JSStackInlines.h:

(JSC::JSStack::ensureCapacityFor):
(JSC::JSStack::topOfFrameFor):
(JSC::JSStack::setStackLimit):

  • jit/ExecutableAllocatorFixedVMPool.cpp:

(JSC::FixedVMPoolExecutableAllocator::FixedVMPoolExecutableAllocator):

  • jit/JIT.h:

(JSC::JIT::compileCTINativeCall):

  • jit/JITExceptions.h:
  • jit/JITThunks.cpp:

(JSC::JITThunks::ctiNativeCall):
(JSC::JITThunks::ctiNativeConstruct):

  • llint/LLIntCLoop.cpp:
  • llint/LLIntCLoop.h:
  • llint/LLIntData.cpp:

(JSC::LLInt::initialize):
(JSC::LLInt::Data::performAssertions):

  • llint/LLIntData.h:

(JSC::LLInt::Data::performAssertions): Deleted.

  • llint/LLIntEntrypoint.cpp:
  • llint/LLIntEntrypoint.h:
  • llint/LLIntExceptions.cpp:
  • llint/LLIntExceptions.h:
  • llint/LLIntOfflineAsmConfig.h:
  • llint/LLIntOffsetsExtractor.cpp:

(JSC::LLIntOffsetsExtractor::dummy):

  • llint/LLIntOpcode.h:
  • llint/LLIntSlowPaths.cpp:

(JSC::LLInt::LLINT_SLOW_PATH_DECL):

  • llint/LLIntSlowPaths.h:
  • llint/LLIntThunks.cpp:
  • llint/LLIntThunks.h:
  • llint/LowLevelInterpreter.cpp:
  • llint/LowLevelInterpreter.h:
  • runtime/CommonSlowPaths.cpp:
  • runtime/CommonSlowPaths.h:
  • runtime/ErrorHandlingScope.cpp:

(JSC::ErrorHandlingScope::ErrorHandlingScope):
(JSC::ErrorHandlingScope::~ErrorHandlingScope):

  • runtime/Executable.cpp:

(JSC::setupLLInt):

  • runtime/InitializeThreading.cpp:

(JSC::initializeThreading):

  • runtime/JSCJSValue.h:
  • runtime/JSCJSValueInlines.h:
  • runtime/Options.cpp:

(JSC::recomputeDependentOptions):

  • runtime/VM.cpp:

(JSC::VM::VM):
(JSC::sanitizeStackForVM):

  • runtime/VM.h:

(JSC::VM::canUseJIT): Deleted.

Source/WTF:

  • wtf/OSAllocatorPosix.cpp:

(WTF::OSAllocator::reserveAndCommit):

  • wtf/Platform.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/interpreter/JSStack.cpp

    r165676 r170147  
    3737namespace JSC {
    3838
    39 #if ENABLE(LLINT_C_LOOP)
     39#if !ENABLE(JIT)
    4040static size_t committedBytesCount = 0;
    4141
     
    4545    return staticMutex;
    4646}   
    47 #endif // ENABLE(LLINT_C_LOOP)
     47#endif // !ENABLE(JIT)
    4848
    4949JSStack::JSStack(VM& vm)
    5050    : m_vm(vm)
    5151    , m_topCallFrame(vm.topCallFrame)
    52 #if ENABLE(LLINT_C_LOOP)
     52#if !ENABLE(JIT)
    5353    , m_end(0)
    5454    , m_reservedZoneSizeInRegisters(0)
    5555#endif
    5656{
    57 #if ENABLE(LLINT_C_LOOP)
     57#if !ENABLE(JIT)
    5858    size_t capacity = Options::maxPerThreadStackUsage();
    5959    ASSERT(capacity && isPageAligned(capacity));
     
    6464   
    6565    m_lastStackTop = baseOfStack();
    66 #endif // ENABLE(LLINT_C_LOOP)
     66#endif // !ENABLE(JIT)
    6767
    6868    m_topCallFrame = 0;
    6969}
    7070
    71 #if ENABLE(LLINT_C_LOOP)
     71#if !ENABLE(JIT)
    7272JSStack::~JSStack()
    7373{
     
    159159        growSlowCase(m_end + 1);
    160160}
    161 #endif // ENABLE(LLINT_C_LOOP)
     161#endif // !ENABLE(JIT)
    162162
    163 #if !ENABLE(LLINT_C_LOOP)
     163#if ENABLE(JIT)
    164164Register* JSStack::lowAddress() const
    165165{
     
    173173    return reinterpret_cast<Register*>(wtfThreadData().stack().origin());
    174174}
    175 #endif // !ENABLE(LLINT_C_LOOP)
     175#endif // ENABLE(JIT)
    176176
    177177size_t JSStack::committedByteCount()
    178178{
    179 #if ENABLE(LLINT_C_LOOP)
     179#if !ENABLE(JIT)
    180180    MutexLocker locker(stackStatisticsMutex());
    181181    return committedBytesCount;
Note: See TracChangeset for help on using the changeset viewer.