Changeset 209037 in webkit
- Timestamp:
- Nov 28, 2016 3:53:33 PM (7 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r209036 r209037 1 2016-11-28 Mark Lam <mark.lam@apple.com> 2 3 Fix exception scope verification failures in IteratorOperations.h. 4 https://bugs.webkit.org/show_bug.cgi?id=165015 5 6 Reviewed by Saam Barati. 7 8 * runtime/IteratorOperations.h: 9 (JSC::forEachInIterable): 10 1 11 2016-11-28 Mark Lam <mark.lam@apple.com> 2 12 -
trunk/Source/JavaScriptCore/runtime/IteratorOperations.h
r208637 r209037 55 55 while (true) { 56 56 JSValue next = iteratorStep(exec, iterator); 57 if ( next.isFalse() || UNLIKELY(scope.exception()))57 if (UNLIKELY(scope.exception()) || next.isFalse()) 58 58 return; 59 59 … … 63 63 callback(vm, exec, nextValue); 64 64 if (UNLIKELY(scope.exception())) { 65 scope.release(); 65 66 iteratorClose(exec, iterator); 66 67 return;
Note: See TracChangeset
for help on using the changeset viewer.