Changeset 237728 in webkit
- Timestamp:
- Nov 2, 2018 3:46:34 AM (5 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r237714 r237728 1 2018-11-02 Tadeu Zagallo <tzagallo@apple.com> 2 3 REGRESSION(r237547): Exception handlers should be aware of wide opcodes when JIT is disabled 4 https://bugs.webkit.org/show_bug.cgi?id=191175 5 6 Reviewed by Keith Miller. 7 8 https://bugs.webkit.org/show_bug.cgi?id=191108 did not handle the case where JIT is not enabled 9 10 * jit/JITExceptions.cpp: 11 (JSC::genericUnwind): 12 * llint/LLIntData.h: 13 (JSC::LLInt::getWideCodePtr): 14 1 15 2018-11-01 Fujii Hironori <Hironori.Fujii@sony.com> 2 16 -
trunk/Source/JavaScriptCore/jit/JITExceptions.cpp
r237547 r237728 74 74 catchRoutine = handler->nativeCode.executableAddress(); 75 75 #else 76 catchRoutine = LLInt::getCodePtr(catchPCForInterpreter->opcodeID()); 76 catchRoutine = catchPCForInterpreter->isWide() 77 ? LLInt::getWideCodePtr(catchPCForInterpreter->opcodeID()) 78 : LLInt::getCodePtr(catchPCForInterpreter->opcodeID()); 77 79 #endif 78 80 } else -
trunk/Source/JavaScriptCore/llint/LLIntData.h
r237547 r237728 141 141 return reinterpret_cast<void*>(getOpcode(id)); 142 142 } 143 144 ALWAYS_INLINE void* getWideCodePtr(OpcodeID id) 145 { 146 return reinterpret_cast<void*>(getOpcodeWide(id)); 147 } 143 148 #endif 144 149
Note: See TracChangeset
for help on using the changeset viewer.