Changeset 95772 in webkit


Ignore:
Timestamp:
Sep 22, 2011 7:16:00 PM (13 years ago)
Author:
fpizlo@apple.com
Message:

Another PPC build fix.

  • runtime/Executable.cpp:
  • runtime/Executable.h:
Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r95766 r95772  
     12011-09-22  Filip Pizlo  <fpizlo@apple.com>
     2
     3        Another PPC build fix.
     4
     5        * runtime/Executable.cpp:
     6        * runtime/Executable.h:
     7
    182011-09-22  Dean Jackson  <dino@apple.com>
    29
  • trunk/Source/JavaScriptCore/runtime/Executable.cpp

    r95681 r95772  
    8585#endif
    8686
     87#if ENABLE(JIT)
    8788// Utility method used for jettisoning code blocks.
    8889template<typename T>
     
    9697    globalData.heap.addJettisonedCodeBlock(static_pointer_cast<CodeBlock>(codeBlockToJettison.release()));
    9798}
     99#endif
    98100
    99101const ClassInfo ScriptExecutable::s_info = { "ScriptExecutable", &ExecutableBase::s_info, 0, 0 };
     
    224226}
    225227
     228#if ENABLE(JIT)
    226229void EvalExecutable::jettisonOptimizedCode(JSGlobalData& globalData)
    227230{
     
    230233    ASSERT(!m_jitCodeForCallWithArityCheck);
    231234}
     235#endif
    232236
    233237void EvalExecutable::visitChildren(SlotVisitor& visitor)
     
    350354}
    351355
     356#if ENABLE(JIT)
    352357void ProgramExecutable::jettisonOptimizedCode(JSGlobalData& globalData)
    353358{
     
    356361    ASSERT(!m_jitCodeForCallWithArityCheck);
    357362}
     363#endif
    358364
    359365void ProgramExecutable::unlinkCalls()
     
    561567}
    562568
     569#if ENABLE(JIT)
    563570void FunctionExecutable::jettisonOptimizedCodeForCall(JSGlobalData& globalData)
    564571{
     
    574581    m_jitCodeForConstructWithArityCheck = m_codeBlockForConstruct->getJITCodeWithArityCheck();
    575582}
     583#endif
    576584
    577585void FunctionExecutable::visitChildren(SlotVisitor& visitor)
  • trunk/Source/JavaScriptCore/runtime/Executable.h

    r95751 r95772  
    319319        JSObject* compileOptimized(ExecState*, ScopeChainNode*);
    320320       
     321#if ENABLE(JIT)
    321322        void jettisonOptimizedCode(JSGlobalData&);
     323#endif
    322324
    323325        EvalCodeBlock& generatedBytecode()
     
    386388        JSObject* compileOptimized(ExecState*, ScopeChainNode*);
    387389       
     390#if ENABLE(JIT)
    388391        void jettisonOptimizedCode(JSGlobalData&);
     392#endif
    389393
    390394        ProgramCodeBlock& generatedBytecode()
     
    471475        JSObject* compileOptimizedForCall(ExecState*, ScopeChainNode*, ExecState* calleeArgsExec = 0);
    472476       
     477#if ENABLE(JIT)
    473478        void jettisonOptimizedCodeForCall(JSGlobalData&);
     479#endif
    474480
    475481        bool isGeneratedForCall() const
     
    496502        JSObject* compileOptimizedForConstruct(ExecState*, ScopeChainNode*, ExecState* calleeArgsExec = 0);
    497503       
     504#if ENABLE(JIT)
    498505        void jettisonOptimizedCodeForConstruct(JSGlobalData&);
     506#endif
    499507
    500508        bool isGeneratedForConstruct() const
     
    537545        }
    538546       
     547#if ENABLE(JIT)
    539548        void jettisonOptimizedCodeFor(JSGlobalData& globalData, CodeSpecializationKind kind)
    540549        {
     
    546555            }
    547556        }
     557#endif
    548558       
    549559        bool isGeneratedFor(CodeSpecializationKind kind)
Note: See TracChangeset for help on using the changeset viewer.