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/DFGSpeculativeJIT.cpp

    r193584 r193606  
    48434843    cellResult(result.gpr(), node);
    48444844}
     4845
     4846   
     4847void SpeculativeJIT::compileLoadArrowFunctionThis(Node* node)
     4848{
     4849    SpeculateCellOperand function(this, node->child1());
     4850    GPRTemporary result(this, Reuse, function);
     4851    m_jit.loadPtr(JITCompiler::Address(function.gpr(), JSArrowFunction::offsetOfThisValue()), result.gpr());
     4852    cellResult(result.gpr(), node);
     4853}
    48454854   
    48464855void SpeculativeJIT::compileSkipScope(Node* node)
Note: See TracChangeset for help on using the changeset viewer.