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/dfg/DFGJITFinalizer.cpp

    r255987 r255994  
    8484    CodeBlock* codeBlock = m_plan.codeBlock();
    8585
     86    // Some JIT finalizers may have added more constants. Shrink-to-fit those things now.
     87    {
     88        ConcurrentJSLocker locker(codeBlock->m_lock);
     89        codeBlock->constants().shrinkToFit();
     90        codeBlock->constantsSourceCodeRepresentation().shrinkToFit();
     91    }
     92
    8693#if ENABLE(FTL_JIT)
    8794    m_jitCode->optimizeAfterWarmUp(codeBlock);
Note: See TracChangeset for help on using the changeset viewer.