Changeset 237486 in webkit for trunk/Source/JavaScriptCore/jit/JITExceptions.cpp
- Timestamp:
- Oct 26, 2018, 4:34:01 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/JITExceptions.cpp
r237479 r237486 61 61 62 62 void* catchRoutine; 63 const Instruction* catchPCForInterpreter = nullptr;63 Instruction* catchPCForInterpreter = 0; 64 64 if (handler) { 65 65 // handler->target is meaningless for getting a code offset when catching … … 70 70 // in the proper frame. 71 71 if (!JITCode::isOptimizingJIT(callFrame->codeBlock()->jitType())) 72 catchPCForInterpreter = callFrame->codeBlock()->instructions().at(handler->target).ptr();72 catchPCForInterpreter = &callFrame->codeBlock()->instructions()[handler->target]; 73 73 #if ENABLE(JIT) 74 74 catchRoutine = handler->nativeCode.executableAddress(); 75 75 #else 76 catchRoutine = LLInt::getCodePtr(catchPCForInterpreter->opcodeID());76 catchRoutine = catchPCForInterpreter->u.pointer; 77 77 #endif 78 78 } else
Note:
See TracChangeset
for help on using the changeset viewer.