Ignore:
Timestamp:
Oct 26, 2018, 4:34:01 PM (7 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r237479 and r237484.
https://bugs.webkit.org/show_bug.cgi?id=190978

broke JSC on iOS (Requested by tadeuzagallo on #webkit).

Reverted changesets:

"New bytecode format for JSC"
https://bugs.webkit.org/show_bug.cgi?id=187373
https://trac.webkit.org/changeset/237479

"Gardening: Build fix after r237479."
https://bugs.webkit.org/show_bug.cgi?id=187373
https://trac.webkit.org/changeset/237484

File:
1 edited

Legend:

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

    r237479 r237486  
    6161
    6262    void* catchRoutine;
    63     const Instruction* catchPCForInterpreter = nullptr;
     63    Instruction* catchPCForInterpreter = 0;
    6464    if (handler) {
    6565        // handler->target is meaningless for getting a code offset when catching
     
    7070        // in the proper frame.
    7171        if (!JITCode::isOptimizingJIT(callFrame->codeBlock()->jitType()))
    72             catchPCForInterpreter = callFrame->codeBlock()->instructions().at(handler->target).ptr();
     72            catchPCForInterpreter = &callFrame->codeBlock()->instructions()[handler->target];
    7373#if ENABLE(JIT)
    7474        catchRoutine = handler->nativeCode.executableAddress();
    7575#else
    76         catchRoutine = LLInt::getCodePtr(catchPCForInterpreter->opcodeID());
     76        catchRoutine = catchPCForInterpreter->u.pointer;
    7777#endif
    7878    } else
Note: See TracChangeset for help on using the changeset viewer.