DescriptionAdd support for yield expressions
This CL extends the generator suspend and resume implementation to
capture values on the operand stack.
It factors out some helpers to measure and access the operand stack into
the JavaScriptFrame class. It also refactors the suspend and resume
helpers to avoid handle allocation.
BUG=v8:2355
TEST=mjsunit/harmony/generators-iteration
Committed: http://code.google.com/p/v8/source/detail?r=14458
Patch Set 1 #Patch Set 2 : Rebase on top of https://codereview.chromium.org/14416011/ #
Total comments: 12
Patch Set 3 : Fix formatting; add asserts; don't skip write barrier #
Messages
Total messages: 6 (0 generated)
|