Ignore:
Timestamp:
Feb 16, 2012, 8:10:00 PM (13 years ago)
Author:
[email protected]
Message:

ENABLE_INTERPRETER should be ENABLE_CLASSIC_INTERPRETER
https://bugs.webkit.org/show_bug.cgi?id=78791

Rubber stamped by Oliver Hunt.

Just a renaming, nothing more. Also renamed COMPUTED_GOTO_INTERPRETER to
COMPUTED_GOTO_CLASSIC_INTERPRETER.

  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::dump):
(JSC::CodeBlock::stronglyVisitStrongReferences):
(JSC):
(JSC::CodeBlock::shrinkToFit):

  • bytecode/CodeBlock.h:

(CodeBlock):

  • bytecode/Instruction.h:

(JSC::Instruction::Instruction):

  • bytecode/Opcode.h:

(JSC::padOpcodeName):

  • bytecompiler/BytecodeGenerator.cpp:

(JSC::BytecodeGenerator::emitResolve):
(JSC::BytecodeGenerator::emitResolveWithBase):
(JSC::BytecodeGenerator::emitGetById):
(JSC::BytecodeGenerator::emitPutById):
(JSC::BytecodeGenerator::emitDirectPutById):

  • interpreter/AbstractPC.cpp:

(JSC::AbstractPC::AbstractPC):

  • interpreter/AbstractPC.h:

(AbstractPC):

  • interpreter/CallFrame.h:

(ExecState):

  • interpreter/Interpreter.cpp:

(JSC):
(JSC::Interpreter::initialize):
(JSC::Interpreter::isOpcode):
(JSC::Interpreter::unwindCallFrame):
(JSC::Interpreter::execute):
(JSC::Interpreter::privateExecute):
(JSC::Interpreter::retrieveLastCaller):

  • interpreter/Interpreter.h:

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

  • jit/ExecutableAllocatorFixedVMPool.cpp:

(JSC::FixedVMPoolExecutableAllocator::FixedVMPoolExecutableAllocator):

  • runtime/Executable.cpp:

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

  • runtime/Executable.h:

(NativeExecutable):

  • runtime/JSGlobalData.cpp:

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

  • runtime/JSGlobalData.h:

(JSGlobalData):

  • wtf/OSAllocatorPosix.cpp:

(WTF::OSAllocator::reserveAndCommit):

  • wtf/Platform.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/interpreter/Interpreter.h

    r107980 r108020  
    171171        {
    172172            ASSERT(m_initialized);
    173 #if ENABLE(COMPUTED_GOTO_INTERPRETER)
     173#if ENABLE(COMPUTED_GOTO_CLASSIC_INTERPRETER)
    174174            return m_opcodeTable[id];
    175175#else
     
    181181        {
    182182            ASSERT(m_initialized);
    183 #if ENABLE(COMPUTED_GOTO_INTERPRETER)
     183#if ENABLE(COMPUTED_GOTO_CLASSIC_INTERPRETER)
    184184            ASSERT(isOpcode(opcode));
    185185            if (!m_enabled)
     
    223223        JSValue execute(CallFrameClosure&);
    224224
    225 #if ENABLE(INTERPRETER)
     225#if ENABLE(CLASSIC_INTERPRETER)
    226226        NEVER_INLINE bool resolve(CallFrame*, Instruction*, JSValue& exceptionValue);
    227227        NEVER_INLINE bool resolveSkip(CallFrame*, Instruction*, JSValue& exceptionValue);
     
    237237        void tryCachePutByID(CallFrame*, CodeBlock*, Instruction*, JSValue baseValue, const PutPropertySlot&);
    238238        void uncachePutByID(CodeBlock*, Instruction* vPC);       
    239 #endif // ENABLE(INTERPRETER)
     239#endif // ENABLE(CLASSIC_INTERPRETER)
    240240
    241241        NEVER_INLINE bool unwindCallFrame(CallFrame*&, JSValue, unsigned& bytecodeOffset, CodeBlock*&);
     
    260260        RegisterFile m_registerFile;
    261261       
    262 #if ENABLE(COMPUTED_GOTO_INTERPRETER)
     262#if ENABLE(COMPUTED_GOTO_CLASSIC_INTERPRETER)
    263263        Opcode m_opcodeTable[numOpcodeIDs]; // Maps OpcodeID => Opcode for compiling
    264264        HashMap<Opcode, OpcodeID> m_opcodeIDTable; // Maps Opcode => OpcodeID for decompiling
Note: See TracChangeset for help on using the changeset viewer.