DescriptionSimplify the desugaring of catch clauses.
Rather than if/then/continue (where the continue does not match the
semantics of Dart's continue), use if/then/else. This removes the
unnecessary goto and label as a step toward streamlining support for
jumping in the compiler backend.
R=hausner@google.com
Committed: https://code.google.com/p/dart/source/detail?r=30227
Patch Set 1 #Patch Set 2 : Simple cleanups to indentation and comments. #
Total comments: 24
Patch Set 3 : Parse catch clauses with a loop instead of recursion. #
Total comments: 6
Patch Set 4 : Incorporated a round of review comments. #
Total comments: 15
Patch Set 5 : Incorporated final review comments. #
Messages
Total messages: 17 (0 generated)
|