Ignore:
Timestamp:
Aug 20, 2012, 8:52:40 PM (13 years ago)
Author:
[email protected]
Message:

Fix broken non-JIT build.
https://bugs.webkit.org/show_bug.cgi?id=94564.

Patch by Mark Lam <[email protected]> on 2012-08-20
Reviewed by Filip Pizlo.

Added some UNUSED_PARAM() macros to make the compiler happy.

  • runtime/Executable.cpp:

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

File:
1 edited

Legend:

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

    r125982 r126129  
    200200#if !ENABLE(JIT)
    201201    UNUSED_PARAM(jitType);
     202    UNUSED_PARAM(bytecodeIndex);
    202203#endif
    203204    JSObject* exception = 0;
     
    326327#if !ENABLE(JIT)
    327328    UNUSED_PARAM(jitType);
     329    UNUSED_PARAM(bytecodeIndex);
    328330#endif
    329331    JSObject* exception = 0;
     
    511513    UNUSED_PARAM(jitType);
    512514    UNUSED_PARAM(exec);
     515    UNUSED_PARAM(bytecodeIndex);
    513516#endif
    514517    ASSERT((jitType == JITCode::bottomTierJIT()) == !m_codeBlockForCall);
     
    552555    UNUSED_PARAM(jitType);
    553556    UNUSED_PARAM(exec);
     557    UNUSED_PARAM(bytecodeIndex);
    554558#endif
    555559   
Note: See TracChangeset for help on using the changeset viewer.