Ignore:
Timestamp:
Dec 6, 2015, 5:54:43 PM (10 years ago)
Author:
[email protected]
Message:

REGRESSION(r193584): Causes heap use-after-free crashes in Web Inspector tests with AddressSanitizer (Requested by ddkilzer on #webkit).
https://bugs.webkit.org/show_bug.cgi?id=151929

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/193584

File:
1 edited

Legend:

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

    r193584 r193606  
    3535// https://bugs.webkit.org/show_bug.cgi?id=151547
    3636struct ExecutableInfo {
    37     ExecutableInfo(bool needsActivation, bool usesEval, bool isStrictMode, bool isConstructor, bool isBuiltinFunction, ConstructorKind constructorKind, GeneratorThisMode generatorThisMode, SuperBinding superBinding, SourceParseMode parseMode, bool isDerivedConstructorContext, bool isArrowFunctionContext)
     37    ExecutableInfo(bool needsActivation, bool usesEval, bool isStrictMode, bool isConstructor, bool isBuiltinFunction, ConstructorKind constructorKind, GeneratorThisMode generatorThisMode, SuperBinding superBinding, SourceParseMode parseMode)
    3838        : m_needsActivation(needsActivation)
    3939        , m_usesEval(usesEval)
     
    4545        , m_superBinding(static_cast<unsigned>(superBinding))
    4646        , m_parseMode(parseMode)
    47         , m_isDerivedConstructorContext(isDerivedConstructorContext)
    48         , m_isArrowFunctionContext(isArrowFunctionContext)
    4947    {
    5048        ASSERT(m_constructorKind == static_cast<unsigned>(constructorKind));
     
    6260    SuperBinding superBinding() const { return static_cast<SuperBinding>(m_superBinding); }
    6361    SourceParseMode parseMode() const { return m_parseMode; }
    64     bool isDerivedConstructorContext() const { return m_isDerivedConstructorContext; }
    65     bool isArrowFunctionContext() const { return m_isArrowFunctionContext; }
    6662
    6763private:
     
    7571    unsigned m_superBinding : 1;
    7672    SourceParseMode m_parseMode;
    77     unsigned m_isDerivedConstructorContext : 1;
    78     unsigned m_isArrowFunctionContext : 1;
    7973};
    8074
Note: See TracChangeset for help on using the changeset viewer.