Changeset 189961 in webkit for trunk/Source/JavaScriptCore/jit/JITExceptions.cpp
- Timestamp:
- Sep 17, 2015, 7:56:29 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jit/JITExceptions.cpp
r189938 r189961 55 55 Instruction* catchPCForInterpreter = 0; 56 56 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]; 65 58 #if ENABLE(JIT) 66 59 catchRoutine = handler->nativeCode.executableAddress();
Note:
See TracChangeset
for help on using the changeset viewer.