Ignore:
Timestamp:
Dec 10, 2016, 5:14:37 PM (8 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r209653, r209654, r209663, and
r209673.
https://bugs.webkit.org/show_bug.cgi?id=165739

speedometer crashes (Requested by pizlo on #webkit).

Reverted changesets:

"JSVALUE64: Pass arguments in platform argument registers when
making JavaScript calls"
https://bugs.webkit.org/show_bug.cgi?id=160355
http://trac.webkit.org/changeset/209653

"Unreviewed build fix for 32 bit builds."
http://trac.webkit.org/changeset/209654

"Unreviewed build fix for the CLOOP after r209653"
http://trac.webkit.org/changeset/209663

"REGRESSION(r209653) Crash in CallFrameShuffler::snapshot()"
https://bugs.webkit.org/show_bug.cgi?id=165728
http://trac.webkit.org/changeset/209673

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jit/CachedRecovery.h

    r209653 r209678  
    5151
    5252    const Vector<VirtualRegister, 1>& targets() const { return m_targets; }
    53     const Vector<JSValueRegs, 1>& gprTargets() const { return m_gprTargets; }
    5453
    5554    void addTarget(VirtualRegister reg)
     
    7069    }
    7170
    72     void addTargetJSValueRegs(JSValueRegs);
     71    void setWantedJSValueRegs(JSValueRegs jsValueRegs)
     72    {
     73        ASSERT(m_wantedFPR == InvalidFPRReg);
     74        m_wantedJSValueRegs = jsValueRegs;
     75    }
    7376
    7477    void setWantedFPR(FPRReg fpr)
    7578    {
    76         ASSERT(m_gprTargets.isEmpty());
     79        ASSERT(!m_wantedJSValueRegs);
    7780        m_wantedFPR = fpr;
    7881    }
     
    117120    void setRecovery(ValueRecovery recovery) { m_recovery = recovery; }
    118121
    119     JSValueRegs wantedJSValueRegs() const
    120     {
    121         if (m_gprTargets.isEmpty())
    122             return JSValueRegs();
    123 
    124         return m_gprTargets[0];
    125     }
     122    JSValueRegs wantedJSValueRegs() const { return m_wantedJSValueRegs; }
    126123
    127124    FPRReg wantedFPR() const { return m_wantedFPR; }
    128125private:
    129126    ValueRecovery m_recovery;
     127    JSValueRegs m_wantedJSValueRegs;
    130128    FPRReg m_wantedFPR { InvalidFPRReg };
    131129    Vector<VirtualRegister, 1> m_targets;
    132     Vector<JSValueRegs, 1> m_gprTargets;
    133130};
    134131
Note: See TracChangeset for help on using the changeset viewer.