Ignore:
Timestamp:
Dec 1, 2015, 5:37:19 PM (10 years ago)
Author:
[email protected]
Message:

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

JSC tests for this change are failing on 32 and 64-bit bots
(Requested by ryanhaddad on #webkit).

Reverted changeset:

"[ES6] Implement LLInt/Baseline Support for ES6 Generators and
enable this feature"
https://bugs.webkit.org/show_bug.cgi?id=150792
http://trac.webkit.org/changeset/192914

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp

    r192914 r192935  
    146146        , m_constantOne(graph.freeze(jsNumber(1)))
    147147        , m_numArguments(m_codeBlock->numParameters())
    148         , m_numLocals(m_codeBlock->m_numCalleeLocals)
     148        , m_numLocals(m_codeBlock->m_numCalleeRegisters)
    149149        , m_parameterSlots(0)
    150150        , m_numPassedVarArgs(0)
     
    14141414    ensureLocals(
    14151415        VirtualRegister(inlineCallFrameStart).toLocal() + 1 +
    1416         JSStack::CallFrameHeaderSize + codeBlock->m_numCalleeLocals);
     1416        JSStack::CallFrameHeaderSize + codeBlock->m_numCalleeRegisters);
    14171417   
    14181418    size_t argumentPositionStart = m_graph.m_argumentPositions.size();
     
    29282928    // Start with a register offset that corresponds to the last in-use register.
    29292929    int registerOffset = virtualRegisterForLocal(
    2930         m_inlineStackTop->m_profiledBlock->m_numCalleeLocals - 1).offset();
     2930        m_inlineStackTop->m_profiledBlock->m_numCalleeRegisters - 1).offset();
    29312931    registerOffset -= numberOfParameters;
    29322932    registerOffset -= JSStack::CallFrameHeaderSize;
     
    30973097        // Start with a register offset that corresponds to the last in-use register.
    30983098        int registerOffset = virtualRegisterForLocal(
    3099             m_inlineStackTop->m_profiledBlock->m_numCalleeLocals - 1).offset();
     3099            m_inlineStackTop->m_profiledBlock->m_numCalleeRegisters - 1).offset();
    31003100        registerOffset -= numberOfParameters;
    31013101        registerOffset -= JSStack::CallFrameHeaderSize;
Note: See TracChangeset for help on using the changeset viewer.