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/UnlinkedCodeBlock.h

    r193584 r193606  
    120120    bool usesEval() const { return m_usesEval; }
    121121    SourceParseMode parseMode() const { return m_parseMode; }
    122     bool isArrowFunction() const { return m_parseMode == SourceParseMode::ArrowFunctionMode; }
    123     bool isDerivedConstructorContext() const { return m_isDerivedConstructorContext; }
    124     bool isArrowFunctionContext() const { return m_isArrowFunctionContext; }
    125122
    126123    bool needsFullScopeChain() const { return m_needsFullScopeChain; }
     
    397394    unsigned m_generatorThisMode : 1;
    398395    unsigned m_superBinding : 1;
    399     unsigned m_isDerivedConstructorContext : 1;
    400     unsigned m_isArrowFunctionContext : 1;
    401396
    402397    unsigned m_firstLine;
Note: See TracChangeset for help on using the changeset viewer.