Ignore:
Timestamp:
Sep 17, 2015, 7:56:29 PM (10 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r189938, r189952, and r189956.
https://bugs.webkit.org/show_bug.cgi?id=149329

Broke Web Workers (Requested by ap on #webkit).

Reverted changesets:

"Implement try/catch in the DFG."
https://bugs.webkit.org/show_bug.cgi?id=147374
http://trac.webkit.org/changeset/189938

"CLoop build fix after r189938."
http://trac.webkit.org/changeset/189952

"add a regress test for richards with try/catch."
https://bugs.webkit.org/show_bug.cgi?id=149301
http://trac.webkit.org/changeset/189956

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jit/JITExceptions.cpp

    r189938 r189961  
    5555    Instruction* catchPCForInterpreter = 0;
    5656    if (handler) {
    57         // handler->target is meaningless for getting a code offset when catching
    58         // the exception in a DFG frame. This bytecode target offset could be
    59         // something that's in an inlined frame, which means an array access
    60         // with this bytecode offset in the machine frame is utterly meaningless
    61         // and can cause an overflow. OSR exit properly exits to handler->target
    62         // in the proper frame.
    63         if (callFrame->codeBlock()->jitType() != JITCode::DFGJIT)
    64             catchPCForInterpreter = &callFrame->codeBlock()->instructions()[handler->target];
     57        catchPCForInterpreter = &callFrame->codeBlock()->instructions()[handler->target];
    6558#if ENABLE(JIT)
    6659        catchRoutine = handler->nativeCode.executableAddress();
Note: See TracChangeset for help on using the changeset viewer.