DescriptionGeneratorFunction() makes generator instances
The current specification has GeneratorFunction() be like Function(),
except that it makes generator instances. This commit implements that
behavior. It also fills in a piece of the implementation where
otherwise calling GeneratorFunction or GeneratorFunctionPrototype would
cause an abort because they have no code.
R=mstarzinger@chromium.org, rossberg@chromium.org
TEST=mjsunit/harmony/generators-iteration
TEST=mjsunit/harmony/generators-runtime
BUG=v8:2355
BUG=v8:2680
Committed: http://code.google.com/p/v8/source/detail?r=14684
Patch Set 1 #
Total comments: 13
Patch Set 2 : React to feedback #
Total comments: 1
Patch Set 3 : Pass arguments object to helper #
Total comments: 1
Patch Set 4 : Fix nit #
Messages
Total messages: 11 (0 generated)
|