Ignore:
Timestamp:
Feb 6, 2020, 5:32:50 PM (5 years ago)
Author:
Ryan Haddad
Message:

Unreviewed, rolling out r255987.
https://bugs.webkit.org/show_bug.cgi?id=207369

JSTests failures (Requested by yusukesuzuki on #webkit).

Reverted changeset:

"[JSC] CodeBlock::shrinkToFit should shrink
m_constantRegisters and m_constantsSourceCodeRepresentation in
64bit architectures"
https://bugs.webkit.org/show_bug.cgi?id=207356
https://trac.webkit.org/changeset/255987

Patch by Commit Queue <[email protected]> on 2020-02-06

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jit/JIT.cpp

    r255987 r255994  
    944944        static_cast<double>(m_codeBlock->instructionsSize()));
    945945
    946     {
    947         ConcurrentJSLocker locker(m_codeBlock->m_lock);
    948         m_codeBlock->shrinkToFit(locker, CodeBlock::ShrinkMode::LateShrink);
    949     }
     946    m_codeBlock->shrinkToFit(CodeBlock::LateShrink);
    950947    m_codeBlock->setJITCode(
    951948        adoptRef(*new DirectJITCode(result, withArityCheck, JITType::BaselineJIT)));
Note: See TracChangeset for help on using the changeset viewer.