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

    r192876 r192882  
    18061806        break;
    18071807
     1808    case LoadArrowFunctionThis:
     1809        if (JSValue base = forNode(node->child1()).m_value) {
     1810            JSArrowFunction* function = jsDynamicCast<JSArrowFunction*>(base);
     1811            setConstant(node, *m_graph.freeze(function->boundThis()));
     1812            break;
     1813        }
     1814        forNode(node).setType(m_graph, SpecFinalObject);
     1815        break;
     1816           
    18081817    case SkipScope: {
    18091818        JSValue child = forNode(node->child1()).value();
Note: See TracChangeset for help on using the changeset viewer.