Commit bd44f1f
[vm/compiler] Simplify range analysis by removing range sizes
Concept of range sizes is artificial and sometimes over-approximated
as it doesn't match representations used in IL instructions.
It is replaced by "full range" derived from representation.
Also, this change removes a bit of Smi-specific logic which cannot be
extended for arbitrary integers.
TEST=ci
Change-Id: Ifc3092b13e4655cd5790d39d3fb88bd9b40ba484
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/396481
Reviewed-by: Slava Egorov <[email protected]>
Commit-Queue: Alexander Markov <[email protected]>1 parent f601692 commit bd44f1f
File tree
5 files changed
+298
-445
lines changed- runtime/vm/compiler/backend
5 files changed
+298
-445
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2177 | 2177 | | |
2178 | 2178 | | |
2179 | 2179 | | |
2180 | | - | |
2181 | | - | |
2182 | | - | |
2183 | | - | |
| 2180 | + | |
| 2181 | + | |
| 2182 | + | |
2184 | 2183 | | |
2185 | 2184 | | |
2186 | 2185 | | |
| |||
2202 | 2201 | | |
2203 | 2202 | | |
2204 | 2203 | | |
2205 | | - | |
2206 | | - | |
2207 | | - | |
2208 | | - | |
| 2204 | + | |
| 2205 | + | |
| 2206 | + | |
2209 | 2207 | | |
2210 | 2208 | | |
2211 | 2209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3182 | 3182 | | |
3183 | 3183 | | |
3184 | 3184 | | |
3185 | | - | |
| 3185 | + | |
| 3186 | + | |
3186 | 3187 | | |
3187 | 3188 | | |
3188 | 3189 | | |
| |||
0 commit comments