Ignore:
Timestamp:
May 19, 2010, 1:35:47 PM (15 years ago)
Author:
[email protected]
Message:

2010-05-19 Geoffrey Garen <[email protected]>

Reviewed by Sam Weinig.

Don't build the Interpreter into JIT builds.
https://bugs.webkit.org/show_bug.cgi?id=39373

SunSpider says no change.

  • interpreter/Interpreter.cpp: (JSC::Interpreter::privateExecute):
  • interpreter/Interpreter.h:
  • wtf/Platform.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/interpreter/Interpreter.cpp

    r59777 r59781  
    9090}
    9191
    92 #if USE(INTERPRETER)
     92#if !ENABLE(JIT)
    9393NEVER_INLINE bool Interpreter::resolve(CallFrame* callFrame, Instruction* vPC, JSValue& exceptionValue)
    9494{
     
    305305}
    306306
    307 #endif // USE(INTERPRETER)
     307#endif // !ENABLE(JIT)
    308308
    309309ALWAYS_INLINE CallFrame* Interpreter::slideRegisterWindowForCall(CodeBlock* newCodeBlock, RegisterFile* registerFile, CallFrame* callFrame, size_t registerOffset, int argc)
     
    344344}
    345345
    346 #if USE(INTERPRETER)
     346#if !ENABLE(JIT)
    347347static NEVER_INLINE bool isInvalidParamForIn(CallFrame* callFrame, CodeBlock* codeBlock, const Instruction* vPC, JSValue value, JSValue& exceptionData)
    348348{
     
    10231023}
    10241024   
    1025 #if USE(INTERPRETER)
     1025#if !ENABLE(JIT)
    10261026NEVER_INLINE ScopeChainNode* Interpreter::createExceptionScope(CallFrame* callFrame, const Instruction* vPC)
    10271027{
     
    12591259}
    12601260
    1261 #endif // USE(INTERPRETER)
     1261#endif // !ENABLE(JIT)
    12621262
    12631263JSValue Interpreter::privateExecute(ExecutionFlag flag, RegisterFile* registerFile, CallFrame* callFrame, JSValue* exception)
     
    12801280    ASSERT_NOT_REACHED();
    12811281#endif
    1282 #if !USE(INTERPRETER)
     1282#if !!ENABLE(JIT)
    12831283    UNUSED_PARAM(registerFile);
    12841284    UNUSED_PARAM(callFrame);
     
    44054405    } // iterator loop ends
    44064406#endif
    4407 #endif // USE(INTERPRETER)
    44084407    #undef NEXT_INSTRUCTION
    44094408    #undef DEFINE_OPCODE
    44104409    #undef CHECK_FOR_EXCEPTION
    44114410    #undef CHECK_FOR_TIMEOUT
     4411#endif // !ENABLE(JIT)
    44124412}
    44134413
Note: See TracChangeset for help on using the changeset viewer.