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

    r193584 r193606  
    770770            break;
    771771        }
     772        case op_load_arrowfunction_this: {
     773            int r0 = (++it)->u.operand;
     774            printLocationOpAndRegisterOperand(out, exec, location, it, "load_arrowfunction_this", r0);
     775            break;
     776        }
    772777        case op_create_direct_arguments: {
    773778            int r0 = (++it)->u.operand;
     
    13231328            int r1 = (++it)->u.operand;
    13241329            int f0 = (++it)->u.operand;
     1330            int r2 = (++it)->u.operand;
    13251331            printLocationAndOp(out, exec, location, it, "op_new_arrow_func_exp");
    1326             out.printf("%s, %s, f%d", registerName(r0).data(), registerName(r1).data(), f0);
     1332            out.printf("%s, %s, f%d, %s", registerName(r0).data(), registerName(r1).data(), f0, registerName(r2).data());
    13271333            break;
    13281334        }
Note: See TracChangeset for help on using the changeset viewer.