Skip to content
  • oliver@apple.com's avatar
    2010-07-10 Oliver Hunt <oliver@apple.com> · 563fc0a7
    oliver@apple.com authored
            Reviewed by Maciej Stachowiak.
    
            HAVE_COMPUTED_GOTO is dependent on the interpreter being enabled
            https://bugs.webkit.org/show_bug.cgi?id=42039
    
            Separate the existence of computed goto support in the compiler
            from whether or not we are using the interpreter.  All the current
            HAVE(COMPUTED_GOTO) guards are for the interpreter, but I'd like
            the option of using it elsewhere.  The interpreter now uses
            ENABLE(COMPUTED_GOTO_INTERPRETER)
    
            * bytecode/Instruction.h:
            (JSC::Instruction::Instruction):
            * bytecode/Opcode.h:
            * interpreter/Interpreter.cpp:
            (JSC::Interpreter::Interpreter):
            (JSC::Interpreter::isOpcode):
            (JSC::Interpreter::privateExecute):
            * interpreter/Interpreter.h:
            (JSC::Interpreter::getOpcode):
            (JSC::Interpreter::getOpcodeID):
            * wtf/Platform.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63056 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    563fc0a7