Changeset 206401 in webkit
- Timestamp:
- Sep 26, 2016 4:11:53 PM (8 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r206400 r206401 1 2016-09-26 Mark Lam <mark.lam@apple.com> 2 3 Exception unwinding code should use a CatchScope instead of a ThrowScope. 4 https://bugs.webkit.org/show_bug.cgi?id=162583 5 6 Reviewed by Geoffrey Garen. 7 8 This is because the exception unwinding code does not throw an exception. 9 It only inspects the thrown exception and passes it to the appropriate handler. 10 11 * interpreter/Interpreter.cpp: 12 (JSC::Interpreter::unwind): 13 * jit/JITExceptions.cpp: 14 (JSC::genericUnwind): 15 1 16 2016-09-26 Joseph Pecoraro <pecoraro@apple.com> 2 17 -
trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
r206386 r206401 679 679 NEVER_INLINE HandlerInfo* Interpreter::unwind(VM& vm, CallFrame*& callFrame, Exception* exception, UnwindStart unwindStart) 680 680 { 681 auto scope = DECLARE_ THROW_SCOPE(vm);681 auto scope = DECLARE_CATCH_SCOPE(vm); 682 682 683 683 if (unwindStart == UnwindFromCallerFrame) { -
trunk/Source/JavaScriptCore/jit/JITExceptions.cpp
r205569 r206401 43 43 void genericUnwind(VM* vm, ExecState* callFrame, UnwindStart unwindStart) 44 44 { 45 auto scope = DECLARE_ THROW_SCOPE(*vm);45 auto scope = DECLARE_CATCH_SCOPE(*vm); 46 46 if (Options::breakOnThrow()) { 47 47 CodeBlock* codeBlock = callFrame->codeBlock();
Note: See TracChangeset
for help on using the changeset viewer.