DescriptionMIPS: Capture receiver in generator object
Port r14434 (04f254d1)
Original commit message:
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: https://code.google.com/p/v8/source/detail?r=14442
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|