DescriptionFix scoping async functions.
This CL fixes several scoping/context issues:
* Do not reuse scopes in SequenceNode_s as they might introduce a new context
level. In that case we would trigger context allocationg multiple times
resulting in scope/contexts being out of sync.
* Properly save and restore saved_try_context in try/catch/finally blocks and
nesting closures. For this we need to keep track of async closures top scopes.
R=hausner@google.com
Committed: https://code.google.com/p/dart/source/detail?r=39775
Patch Set 1 : #
Total comments: 3
Patch Set 2 : rebase + added comment #
Messages
Total messages: 9 (5 generated)
|