Ignore:
Timestamp:
Dec 13, 2016, 11:38:13 AM (8 years ago)
Author:
[email protected]
Message:

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

"Broke ARMv7 builds" (Requested by msaboff on #webkit).

Reverted changeset:

"REGRESSION(r209653): speedometer crashes making virtual slow
path tailcalls"
https://bugs.webkit.org/show_bug.cgi?id=165748
http://trac.webkit.org/changeset/209725

File:
1 edited

Legend:

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

    r209725 r209764  
    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.