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/dfg/DFGAbstractInterpreterInlines.h

    r193584 r193606  
    18111811        break;
    18121812
     1813    case LoadArrowFunctionThis:
     1814        if (JSValue base = forNode(node->child1()).m_value) {
     1815            JSArrowFunction* function = jsDynamicCast<JSArrowFunction*>(base);
     1816            setConstant(node, *m_graph.freeze(function->boundThis()));
     1817            break;
     1818        }
     1819        forNode(node).setType(m_graph, SpecFinalObject);
     1820        break;
     1821           
    18131822    case SkipScope: {
    18141823        JSValue child = forNode(node->child1()).value();
Note: See TracChangeset for help on using the changeset viewer.