Changeset 108020 in webkit for trunk/Source/JavaScriptCore/wtf


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:
Location:
trunk/Source/JavaScriptCore/wtf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/wtf/OSAllocatorPosix.cpp

    r105918 r108020  
    103103    result = mmap(result, bytes, protection, flags, fd, 0);
    104104    if (result == MAP_FAILED) {
    105     #if ENABLE(INTERPRETER)
     105    #if ENABLE(CLASSIC_INTERPRETER)
    106106        if (executable)
    107107            result = 0;
  • trunk/Source/JavaScriptCore/wtf/Platform.h

    r107678 r108020  
    598598
    599599#if PLATFORM(IOS_SIMULATOR)
    600     #define ENABLE_INTERPRETER 1
     600    #define ENABLE_CLASSIC_INTERPRETER 1
    601601    #define ENABLE_JIT 0
    602602    #define ENABLE_YARR_JIT 0
    603603#else
    604     #define ENABLE_INTERPRETER 1
     604    #define ENABLE_CLASSIC_INTERPRETER 1
    605605    #define ENABLE_JIT 1
    606606    #define ENABLE_YARR_JIT 1
     
    957957
    958958/* Ensure that either the JIT or the interpreter has been enabled. */
    959 #if !defined(ENABLE_INTERPRETER) && !ENABLE(JIT)
    960 #define ENABLE_INTERPRETER 1
    961 #endif
    962 #if !(ENABLE(JIT) || ENABLE(INTERPRETER))
     959#if !defined(ENABLE_CLASSIC_INTERPRETER) && !ENABLE(JIT)
     960#define ENABLE_CLASSIC_INTERPRETER 1
     961#endif
     962#if !(ENABLE(JIT) || ENABLE(CLASSIC_INTERPRETER))
    963963#error You have to have at least one execution model enabled to build JSC
    964964#endif
     
    993993#define HAVE_COMPUTED_GOTO 1
    994994#endif
    995 #if HAVE(COMPUTED_GOTO) && ENABLE(INTERPRETER)
    996 #define ENABLE_COMPUTED_GOTO_INTERPRETER 1
     995#if HAVE(COMPUTED_GOTO) && ENABLE(CLASSIC_INTERPRETER)
     996#define ENABLE_COMPUTED_GOTO_CLASSIC_INTERPRETER 1
    997997#endif
    998998
Note: See TracChangeset for help on using the changeset viewer.