Ignore:
Timestamp:
Jan 29, 2014, 11:18:54 AM (11 years ago)
Author:
[email protected]
Message:

Merge the jsCStack branch
https://bugs.webkit.org/show_bug.cgi?id=127763

Reviewed by Mark Hahnenberg.

Source/JavaScriptCore:

Changes from http://svn.webkit.org/repository/webkit/branches/jsCStack
up to changeset 162958.

Source/WebCore:

Changes from http://svn.webkit.org/repository/webkit/branches/jsCStack
up to changeset 162958.

Source/WTF:

Changes from http://svn.webkit.org/repository/webkit/branches/jsCStack
up to changeset 162958.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGJITFinalizer.cpp

    r159577 r163027  
    4747}
    4848
     49size_t JITFinalizer::codeSize()
     50{
     51    return m_linkBuffer->size();
     52}
     53
    4954bool JITFinalizer::finalize()
    5055{
    51     m_jitCode->initializeCodeRef(m_linkBuffer->finalizeCodeWithoutDisassembly());
    52     m_plan.codeBlock->setJITCode(m_jitCode, MacroAssemblerCodePtr());
     56    m_jitCode->initializeCodeRef(
     57        m_linkBuffer->finalizeCodeWithoutDisassembly(), MacroAssemblerCodePtr());
     58    m_plan.codeBlock->setJITCode(m_jitCode);
    5359   
    5460    finalizeCommon();
     
    6066{
    6167    RELEASE_ASSERT(!m_withArityCheck.isEmptyValue());
    62     m_jitCode->initializeCodeRef(m_linkBuffer->finalizeCodeWithoutDisassembly());
    63     m_plan.codeBlock->setJITCode(m_jitCode, m_withArityCheck);
     68    m_jitCode->initializeCodeRef(
     69        m_linkBuffer->finalizeCodeWithoutDisassembly(), m_withArityCheck);
     70    m_plan.codeBlock->setJITCode(m_jitCode);
    6471   
    6572    finalizeCommon();
     
    7683    if (m_plan.compilation)
    7784        m_plan.vm.m_perBytecodeProfiler->addCompilation(m_plan.compilation);
     85   
     86    if (!m_plan.willTryToTierUp)
     87        m_plan.codeBlock->baselineVersion()->m_didFailFTLCompilation = true;
    7888}
    7989
Note: See TracChangeset for help on using the changeset viewer.