DescriptionFix context handling in for-in loops
The creation and assignment of a fresh loop variable appeared to be outside
of the loop body. When the assignment fails, e.g. due to a type check, the
stack walking code could thus access the wrong context variables.
This CL fixes code and PC descriptor generation for for-in loops and also
fixes a separate bug that crashed the VM when printing an internal error
message.
Fixes issue 20999.
R=regis@google.com
Committed: https://code.google.com/p/dart/source/detail?r=40552
Patch Set 1 #
Messages
Total messages: 5 (1 generated)
|