DescriptionGenerators save and restore stack handlers
This CL adds machinery to unwind stack handlers from the stack and store
them into a generator's operand array. It also includes routines to
reinstate them. Together this allows generators to yield within
try/catch and try/finally blocks.
BUG=v8:2355
R=mstarzinger@chromium.org
TEST=mjsunit/harmony/generators-iteration
Committed: 14586
Patch Set 1 #Patch Set 2 : Don't skip write barrier #Patch Set 3 : Rebase to have the test suite expect boxed return values #
Total comments: 10
Patch Set 4 : Fix nits; store handler index and kind in separate slots #Patch Set 5 : Use int instead of Smi* in Unwind / Rewind #
Total comments: 6
Patch Set 6 : Fix nits #Patch Set 7 : Rebased before commit #
Messages
Total messages: 9 (0 generated)
|