Ignore:
Timestamp:
Feb 6, 2020, 5:32:50 PM (6 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/bytecode/CodeBlock.cpp

    r255987 r255994  
    19541954}
    19551955
    1956 void CodeBlock::shrinkToFit(const ConcurrentJSLocker&, ShrinkMode shrinkMode)
     1956void CodeBlock::shrinkToFit(ShrinkMode shrinkMode)
    19571957{
    19581958    ConcurrentJSLocker locker(m_lock);
    19591959
    1960 #if USE(JSVALUE32_64)
    1961     // Only 32bit Baseline JIT is touching m_constantRegisters address directly.
    1962     if (shrinkMode == ShrinkMode::EarlyShrink)
     1960    if (shrinkMode == EarlyShrink) {
    19631961        m_constantRegisters.shrinkToFit();
    1964 #else
    1965     m_constantRegisters.shrinkToFit();
    1966 #endif
    1967     m_constantsSourceCodeRepresentation.shrinkToFit();
    1968 
    1969     if (shrinkMode == ShrinkMode::EarlyShrink) {
     1962        m_constantsSourceCodeRepresentation.shrinkToFit();
     1963       
    19701964        if (m_rareData) {
    19711965            m_rareData->m_switchJumpTables.shrinkToFit();
Note: See TracChangeset for help on using the changeset viewer.