Changeset 207465 in webkit
- Timestamp:
- Oct 18, 2016 9:26:17 AM (8 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r207461 r207465 1 2016-10-18 Yusuke Suzuki <utatane.tea@gmail.com> 2 3 [DOMJIT] Not emit exception case if it is not necessary 4 https://bugs.webkit.org/show_bug.cgi?id=163589 5 6 Reviewed by Sam Weinig. 7 8 We should not emit exception case if we do not use the slow path calls. 9 For example, nodeType accessor does not use the slow path calls. 10 11 * bytecode/PolymorphicAccess.cpp: 12 (JSC::AccessCase::emitDOMJITGetter): 13 1 14 2016-10-18 Caitlin Potter <caitp@igalia.com> 2 15 -
trunk/Source/JavaScriptCore/bytecode/PolymorphicAccess.cpp
r207456 r207465 1536 1536 1537 1537 CCallHelpers::JumpList exceptions = params.emitSlowPathCalls(state, registersToSpillForCCall, jit); 1538 exceptions.link(&jit); 1539 allocator.restoreReusedRegistersByPopping(jit, preservedState); 1540 state.emitExplicitExceptionHandler(); 1538 if (!exceptions.empty()) { 1539 exceptions.link(&jit); 1540 allocator.restoreReusedRegistersByPopping(jit, preservedState); 1541 state.emitExplicitExceptionHandler(); 1542 } 1541 1543 } 1542 1544
Note: See TracChangeset
for help on using the changeset viewer.