|
|
Switch-implementation.
Change parser to compile several case expressions into one SwitchCase - so there is one case per statement group.
Make the builder generate a structure similar to what would be created by an if/else-if cascade with logically or'ed comparisons as conditions.
Not handling continues (but then, nothing is yet).
Committed: https://code.google.com/p/dart/source/detail?r=5389
Total comments: 7
Total comments: 29
Total comments: 5
Total comments: 40
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+409 lines, -248 lines) |
Patch |
 |
M |
frog/leg/elements/elements.dart
|
View
|
1
2
|
2 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
frog/leg/lib/js_helper.dart
|
View
|
1
2
3
4
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
frog/leg/lib/mock.dart
|
View
|
1
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
frog/leg/resolver.dart
|
View
|
1
2
3
4
|
5 chunks |
+102 lines, -15 lines |
0 comments
|
Download
|
 |
M |
frog/leg/scanner/listener.dart
|
View
|
1
2
|
2 chunks |
+17 lines, -8 lines |
0 comments
|
Download
|
 |
M |
frog/leg/scanner/parser.dart
|
View
|
1
2
3
4
|
3 chunks |
+25 lines, -55 lines |
0 comments
|
Download
|
 |
M |
frog/leg/ssa/builder.dart
|
View
|
1
2
3
4
|
12 chunks |
+138 lines, -71 lines |
0 comments
|
Download
|
 |
M |
frog/leg/ssa/codegen.dart
|
View
|
1
2
3
4
|
6 chunks |
+33 lines, -20 lines |
0 comments
|
Download
|
 |
M |
frog/leg/ssa/nodes.dart
|
View
|
1
2
3
4
|
5 chunks |
+23 lines, -10 lines |
0 comments
|
Download
|
 |
M |
frog/leg/ssa/tracer.dart
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
frog/leg/tree/nodes.dart
|
View
|
1
2
|
3 chunks |
+31 lines, -37 lines |
0 comments
|
Download
|
 |
M |
frog/leg/tree/unparser.dart
|
View
|
1
2
3
|
1 chunk |
+6 lines, -12 lines |
0 comments
|
Download
|
 |
M |
frog/leg/warnings.dart
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tests/co19/co19-leg.status
|
View
|
1
2
3
4
|
6 chunks |
+1 line, -12 lines |
2 comments
|
Download
|
 |
M |
tests/language/language-leg.status
|
View
|
1
2
3
4
|
3 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|