Fix minor (unobservable) bug in ArrayIterator::next()
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Nov 2013 20:27:55 +0000 (20:27 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Nov 2013 20:27:55 +0000 (20:27 +0000)
commitbcfdc4cf36ea3f6beca603b7a6b2cfda5cf44689
treebbb659995bbb141dad83a13a91c3772373984f3e
parentc928b750566257cad12d49646eedc26d88540b0b
Fix minor (unobservable) bug in ArrayIterator::next()
https://bugs.webkit.org/show_bug.cgi?id=124061

Reviewed by Beth Dakin.

I noticed this while reading the array iterator code.  Due to how
ArrayIterator::next() and our enumeration behaviour is implemented
this is not actually a code path that can be hit.  But in order to
future proof this it should be correct.

* runtime/JSArrayIterator.cpp:
(JSC::arrayIteratorNext):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158940 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/JSArrayIterator.cpp
Source/JavaScriptCore/runtime/JSSetIterator.cpp [new file with mode: 0644]
Source/JavaScriptCore/runtime/JSSetIterator.h [new file with mode: 0644]
Source/JavaScriptCore/runtime/SetIteratorConstructor.cpp [new file with mode: 0644]
Source/JavaScriptCore/runtime/SetIteratorConstructor.h [new file with mode: 0644]
Source/JavaScriptCore/runtime/SetIteratorPrototype.cpp [new file with mode: 0644]
Source/JavaScriptCore/runtime/SetIteratorPrototype.h [new file with mode: 0644]