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/llint/LLIntSlowPaths.cpp

    r193584 r193606  
    10801080{
    10811081    LLINT_BEGIN();
    1082    
     1082
     1083    JSValue thisValue = LLINT_OP_C(4).jsValue();
    10831084    CodeBlock* codeBlock = exec->codeBlock();
    10841085    JSScope* scope = exec->uncheckedR(pc[2].u.operand).Register::scope();
    10851086    FunctionExecutable* executable = codeBlock->functionExpr(pc[3].u.operand);
    10861087   
    1087     LLINT_RETURN(JSFunction::create(vm, executable, scope));
     1088    LLINT_RETURN(JSArrowFunction::create(vm, executable, scope, thisValue));
    10881089}
    10891090
Note: See TracChangeset for help on using the changeset viewer.