Ignore:
Timestamp:
Feb 24, 2016, 12:46:44 PM (9 years ago)
Author:
[email protected]
Message:

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

"It broke JSC tests when 'this' was loaded from global scope"
(Requested by saamyjoon on #webkit).

Reverted changeset:

"[ES6] Arrow function syntax. Emit loading&putting this/super
only if they are used in arrow function"
https://bugs.webkit.org/show_bug.cgi?id=153981
http://trac.webkit.org/changeset/197033

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/parser/Nodes.cpp

    r197033 r197043  
    147147    const JSTokenLocation& endLocation, unsigned startColumn, unsigned endColumn,
    148148    int functionKeywordStart, int functionNameStart, int parametersStart, bool isInStrictContext,
    149     ConstructorKind constructorKind, SuperBinding superBinding, unsigned parameterCount, SourceParseMode mode, bool isArrowFunctionBodyExpression, ArrowFunctionCodeFeatures arrowFunctionCodeFeatures)
     149    ConstructorKind constructorKind, SuperBinding superBinding, unsigned parameterCount, SourceParseMode mode, bool isArrowFunctionBodyExpression)
    150150        : Node(endLocation)
    151151        , m_startColumn(startColumn)
     
    161161        , m_constructorKind(static_cast<unsigned>(constructorKind))
    162162        , m_isArrowFunctionBodyExpression(isArrowFunctionBodyExpression)
    163         , m_arrowFunctionCodeFeatures(arrowFunctionCodeFeatures)
    164163{
    165164    ASSERT(m_superBinding == static_cast<unsigned>(superBinding));
Note: See TracChangeset for help on using the changeset viewer.