Ignore:
Timestamp:
Nov 2, 2018, 3:46:34 AM (7 years ago)
Author:
Tadeu Zagallo
Message:

REGRESSION(r237547): Exception handlers should be aware of wide opcodes when JIT is disabled
https://bugs.webkit.org/show_bug.cgi?id=191175

Reviewed by Keith Miller.

https://bugs.webkit.org/show_bug.cgi?id=191108 did not handle the case where JIT is not enabled

  • jit/JITExceptions.cpp:

(JSC::genericUnwind):

  • llint/LLIntData.h:

(JSC::LLInt::getWideCodePtr):

File:
1 edited

Legend:

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

    r237547 r237728  
    7474        catchRoutine = handler->nativeCode.executableAddress();
    7575#else
    76         catchRoutine = LLInt::getCodePtr(catchPCForInterpreter->opcodeID());
     76        catchRoutine = catchPCForInterpreter->isWide()
     77            ? LLInt::getWideCodePtr(catchPCForInterpreter->opcodeID())
     78            : LLInt::getCodePtr(catchPCForInterpreter->opcodeID());
    7779#endif
    7880    } else
Note: See TracChangeset for help on using the changeset viewer.