Ignore:
Timestamp:
Dec 1, 2015, 6:39:58 AM (10 years ago)
Author:
Carlos Garcia Campos
Message:

Unreviewed, rolling out r192876.

It broke a lot of JSC and layout tests for GTK and EFL

Reverted changeset:

"[ES6] "super" and "this" should be lexically bound inside an
arrow function and should live in a JSLexicalEnvironment"
https://bugs.webkit.org/show_bug.cgi?id=149338
http://trac.webkit.org/changeset/192876

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/bytecode/ExecutableInfo.h

    r192876 r192882  
    3232
    3333struct ExecutableInfo {
    34     ExecutableInfo(bool needsActivation, bool usesEval, bool isStrictMode, bool isConstructor, bool isBuiltinFunction, ConstructorKind constructorKind, bool isArrowFunction, bool isDerivedConstructorContext, bool isArrowFunctionContext)
     34    ExecutableInfo(bool needsActivation, bool usesEval, bool isStrictMode, bool isConstructor, bool isBuiltinFunction, ConstructorKind constructorKind, bool isArrowFunction)
    3535        : m_needsActivation(needsActivation)
    3636        , m_usesEval(usesEval)
     
    4040        , m_constructorKind(static_cast<unsigned>(constructorKind))
    4141        , m_isArrowFunction(isArrowFunction)
    42         , m_isDerivedConstructorContext(isDerivedConstructorContext)
    43         , m_isArrowFunctionContext(isArrowFunctionContext)
    4442    {
    4543        ASSERT(m_constructorKind == static_cast<unsigned>(constructorKind));
     
    5351    ConstructorKind constructorKind() const { return static_cast<ConstructorKind>(m_constructorKind); }
    5452    bool isArrowFunction() const { return m_isArrowFunction; }
    55     bool isDerivedConstructorContext() const { return m_isDerivedConstructorContext; }
    56     bool isArrowFunctionContext() const { return m_isArrowFunctionContext; }
    5753
    5854private:
     
    6460    unsigned m_constructorKind : 2;
    6561    unsigned m_isArrowFunction : 1;
    66     unsigned m_isDerivedConstructorContext : 1;
    67     unsigned m_isArrowFunctionContext : 1;
    6862};
    6963
Note: See TracChangeset for help on using the changeset viewer.