DescriptionFix context level info in for-loops
The stack overflow check on the back-branch of the loop must
be at the same context level as the (outer) loop block of
the for-loop.
Before this change, the stack check was recorded to be at a
token position that is outside of the loop block, which caused
a context mismatch on some stack traces when the debugger
or the observatory interrupted the isolate on that back
branch.
It is not practical to write a test for this, unfortunately.
BUG=25684
R=fschneider@google.com
Committed: https://github.com/dart-lang/sdk/commit/3107a41bb7540156eb0ac4dabfa16d878cd72134
Patch Set 1 #
Messages
Total messages: 7 (3 generated)
|