|
|
Optimize boolean asserts
This change adds a notion of non-nullability to the type system. We use this to track nullable vs non-nullable bools, removing a lot of the checks in "if" "for" etc.
Also fixes ?: precedence, uncovered by sra's PEG tests
Committed: https://code.google.com/p/dart/source/detail?r=1481
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1582 lines, -1383 lines) |
Patch |
 |
M |
frog/corejs.dart
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
frog/frogsh
|
View
|
|
601 chunks |
+1434 lines, -1316 lines |
1 comment
|
Download
|
 |
M |
frog/gen.dart
|
View
|
|
4 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
 |
M |
frog/member.dart
|
View
|
|
10 chunks |
+38 lines, -17 lines |
0 comments
|
Download
|
 |
M |
frog/parser.dart
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
frog/type.dart
|
View
|
|
3 chunks |
+66 lines, -2 lines |
3 comments
|
Download
|
 |
M |
frog/value.dart
|
View
|
|
6 chunks |
+16 lines, -31 lines |
1 comment
|
Download
|
 |
M |
frog/world.dart
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tests/co19/co19-frog.status
|
View
|
1
|
4 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|