Ignore:
Timestamp:
Dec 15, 2014, 3:24:12 PM (11 years ago)
Author:
[email protected]
Message:

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

"Breaks API tests and LayoutTests on Yosemite Debug"
(Requested by msaboff on #webkit).

Reverted changeset:

"Make sure range based iteration of Vector<> still receives
bounds checking"
https://bugs.webkit.org/show_bug.cgi?id=138821
http://trac.webkit.org/changeset/177284

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/parser/Parser.h

    r177284 r177316  
    131131            m_labels = std::make_unique<LabelStack>();
    132132
    133             for (auto label : *rhs.m_labels)
    134                 m_labels->append(ScopeLabelInfo(label.m_ident, label.m_isLoop));
     133            typedef LabelStack::const_iterator iterator;
     134            iterator end = rhs.m_labels->end();
     135            for (iterator it = rhs.m_labels->begin(); it != end; ++it)
     136                m_labels->append(ScopeLabelInfo(it->m_ident, it->m_isLoop));
    135137        }
    136138    }
Note: See TracChangeset for help on using the changeset viewer.