Ignore:
Timestamp:
Jun 19, 2012, 2:06:08 PM (13 years ago)
Author:
[email protected]
Message:

CodeBlock::needsCallReturnIndices() is no longer needed.
https://bugs.webkit.org/show_bug.cgi?id=89490

Patch by Mark Lam <[email protected]> on 2012-06-19
Reviewed by Geoffrey Garen.

  • bytecode/CodeBlock.h:

(JSC::CodeBlock::needsCallReturnIndices): removed.

  • dfg/DFGJITCompiler.cpp:

(JSC::DFG::JITCompiler::link):

  • jit/JIT.cpp:

(JSC::JIT::privateCompile):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/bytecode/CodeBlock.h

    r120676 r120751  
    720720
    721721        bool hasExpressionInfo() { return m_rareData && m_rareData->m_expressionInfo.size(); }
    722         //  We only generate exception handling info if the user is debugging
    723         // (and may want line number info), or if the function contains exception handler.
    724         bool needsCallReturnIndices()
    725         {
    726             return true || (m_rareData
    727                 && (m_rareData->m_expressionInfo.size() || m_rareData->m_exceptionHandlers.size()));
    728         }
    729722
    730723#if ENABLE(JIT)
Note: See TracChangeset for help on using the changeset viewer.