Ignore:
Timestamp:
Nov 9, 2021, 3:06:05 PM (4 years ago)
Author:
[email protected]
Message:

Unreviewed, reverting r285246.
https://bugs.webkit.org/show_bug.cgi?id=232907

Broke FixedVector

Reverted changeset:

"[JSC] Clean up StructureStubInfo initialization"
https://bugs.webkit.org/show_bug.cgi?id=232652
https://commits.webkit.org/r285246

File:
1 edited

Legend:

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

    r285246 r285538  
    10081008    m_jitCode = adoptRef(*new BaselineJITCode(result, withArityCheck));
    10091009
    1010     m_jitCode->m_unlinkedCalls = WTFMove(m_unlinkedCalls);
     1010    m_jitCode->m_unlinkedCalls = FixedVector<UnlinkedCallLinkInfo>(m_unlinkedCalls.size());
     1011    if (m_jitCode->m_unlinkedCalls.size())
     1012        std::move(m_unlinkedCalls.begin(), m_unlinkedCalls.end(), m_jitCode->m_unlinkedCalls.begin());
    10111013    m_jitCode->m_evalCallLinkInfos = WTFMove(m_evalCallLinkInfos);
    1012     m_jitCode->m_unlinkedStubInfos = WTFMove(m_unlinkedStubInfos);
     1014    m_jitCode->m_unlinkedStubInfos = FixedVector<UnlinkedStructureStubInfo>(m_unlinkedStubInfos.size());
     1015    if (m_jitCode->m_unlinkedStubInfos.size())
     1016        std::move(m_unlinkedStubInfos.begin(), m_unlinkedStubInfos.end(), m_jitCode->m_unlinkedStubInfos.begin());
    10131017    m_jitCode->m_switchJumpTables = WTFMove(m_switchJumpTables);
    10141018    m_jitCode->m_stringSwitchJumpTables = WTFMove(m_stringSwitchJumpTables);
Note: See TracChangeset for help on using the changeset viewer.