Ignore:
Timestamp:
Sep 24, 2012, 9:30:20 PM (13 years ago)
Author:
[email protected]
Message:

Deleting the classic interpreter and cleaning up some build options.
https://bugs.webkit.org/show_bug.cgi?id=96969.

Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::dump):
(JSC::CodeBlock::finalizeUnconditionally):
(JSC::CodeBlock::stronglyVisitStrongReferences):
(JSC):

  • bytecode/Instruction.h:

(JSC::Instruction::Instruction):

  • interpreter/AbstractPC.cpp:

(JSC::AbstractPC::AbstractPC):

  • interpreter/AbstractPC.h:

(AbstractPC):

  • interpreter/CallFrame.h:

(ExecState):

  • interpreter/Interpreter.cpp:

(JSC):
(JSC::Interpreter::Interpreter):
(JSC::Interpreter::~Interpreter):
(JSC::Interpreter::initialize):
(JSC::Interpreter::isOpcode):
(JSC::Interpreter::unwindCallFrame):
(JSC::getLineNumberForCallFrame):
(JSC::getCallerInfo):
(JSC::getSourceURLFromCallFrame):
(JSC::Interpreter::execute):
(JSC::Interpreter::executeCall):
(JSC::Interpreter::executeConstruct):
(JSC::Interpreter::retrieveArgumentsFromVMCode):
(JSC::Interpreter::retrieveCallerFromVMCode):
(JSC::Interpreter::retrieveLastCaller):

  • interpreter/Interpreter.h:

(JSC::Interpreter::getOpcodeID):
(Interpreter):

  • jit/ExecutableAllocatorFixedVMPool.cpp:

(JSC::FixedVMPoolExecutableAllocator::FixedVMPoolExecutableAllocator):

  • offlineasm/asm.rb:
  • offlineasm/offsets.rb:
  • runtime/Executable.cpp:

(JSC::EvalExecutable::compileInternal):
(JSC::ProgramExecutable::compileInternal):
(JSC::FunctionExecutable::compileForCallInternal):
(JSC::FunctionExecutable::compileForConstructInternal):

  • runtime/Executable.h:

(JSC::NativeExecutable::create):
(NativeExecutable):
(JSC::NativeExecutable::finishCreation):

  • runtime/JSGlobalData.cpp:

(JSC):
(JSC::JSGlobalData::JSGlobalData):
(JSC::JSGlobalData::getHostFunction):

  • runtime/JSGlobalData.h:

(JSGlobalData):
(JSC::JSGlobalData::canUseJIT):
(JSC::JSGlobalData::canUseRegExpJIT):

  • runtime/Options.cpp:

(JSC::Options::initialize):

Source/WebKit/blackberry:

  • WebCoreSupport/AboutDataEnableFeatures.in:

Source/WTF:

  • wtf/OSAllocatorPosix.cpp:

(WTF::OSAllocator::reserveAndCommit):

  • wtf/Platform.h:
File:
1 edited

Legend:

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

    r129297 r129453  
    232232
    233233#if ENABLE(JIT)
    234 #if ENABLE(CLASSIC_INTERPRETER)
    235     if (!m_jitCodeForCall)
    236         Heap::heap(this)->reportExtraMemoryCost(sizeof(*m_evalCodeBlock));
    237     else
    238 #endif
    239234    Heap::heap(this)->reportExtraMemoryCost(sizeof(*m_evalCodeBlock) + m_jitCodeForCall.size());
    240235#else
     
    357352
    358353#if ENABLE(JIT)
    359 #if ENABLE(CLASSIC_INTERPRETER)
    360     if (!m_jitCodeForCall)
    361         Heap::heap(this)->reportExtraMemoryCost(sizeof(*m_programCodeBlock));
    362     else
    363 #endif
    364         Heap::heap(this)->reportExtraMemoryCost(sizeof(*m_programCodeBlock) + m_jitCodeForCall.size());
     354    Heap::heap(this)->reportExtraMemoryCost(sizeof(*m_programCodeBlock) + m_jitCodeForCall.size());
    365355#else
    366356    Heap::heap(this)->reportExtraMemoryCost(sizeof(*m_programCodeBlock));
     
    535525
    536526#if ENABLE(JIT)
    537 #if ENABLE(CLASSIC_INTERPRETER)
    538     if (!m_jitCodeForCall)
    539         Heap::heap(this)->reportExtraMemoryCost(sizeof(*m_codeBlockForCall));
    540     else
    541 #endif
    542         Heap::heap(this)->reportExtraMemoryCost(sizeof(*m_codeBlockForCall) + m_jitCodeForCall.size());
     527    Heap::heap(this)->reportExtraMemoryCost(sizeof(*m_codeBlockForCall) + m_jitCodeForCall.size());
    543528#else
    544529    Heap::heap(this)->reportExtraMemoryCost(sizeof(*m_codeBlockForCall));
     
    577562
    578563#if ENABLE(JIT)
    579 #if ENABLE(CLASSIC_INTERPRETER)
    580     if (!m_jitCodeForConstruct)
    581         Heap::heap(this)->reportExtraMemoryCost(sizeof(*m_codeBlockForConstruct));
    582     else
    583 #endif
    584564    Heap::heap(this)->reportExtraMemoryCost(sizeof(*m_codeBlockForConstruct) + m_jitCodeForConstruct.size());
    585565#else
Note: See TracChangeset for help on using the changeset viewer.