DescriptionCapture receiver in generator object
Previously there has been no reason to context-allocate the receiver, so
access to the receiver always goes through the stack. This was failing
with generators, which assumed that forcing context allocation would
relieve the need of storing anything but the context and the function on
the stack.
This CL adds a slot in generator objects to capture the receiver, and
restores it when resuming a generator.
BUG=v8:2355
TEST=mjsunit/harmony/generators-iteration
Committed: http://code.google.com/p/v8/source/detail?r=14434
Patch Set 1 #Patch Set 2 : Rebase on master, fix for ARM #
Messages
Total messages: 4 (0 generated)
|