[es6] Iterators and generators should "extend" %IteratorPrototype%
authorarv <arv@chromium.org>
Fri, 15 May 2015 15:09:46 +0000 (08:09 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 15 May 2015 15:09:38 +0000 (15:09 +0000)
commit834a8e9f637c175ad214a06aa6a262b73a90627d
tree33b54d008f6904aa58aa68873405ad4bc374f874
parentd989a25770acf8994235e7f4c36f11700537fae9
[es6] Iterators and generators should "extend" %IteratorPrototype%

All the builtin iterators as well as the generator objects have an
object called %IteratorPrototype% in the spec between them and
%ObjectPrototype%.

BUG=v8:3568
LOG=N

Review URL: https://codereview.chromium.org/1128233008

Cr-Commit-Position: refs/heads/master@{#28426}
BUILD.gn
src/array-iterator.js
src/bootstrapper.cc
src/collection-iterator.js
src/generator.js
src/iterator-prototype.js [new file with mode: 0644]
src/string-iterator.js
test/mjsunit/es6/generators-runtime.js
test/mjsunit/es6/iterator-prototype.js [new file with mode: 0644]
tools/gyp/v8.gyp