Commit f3d8167
[vm/compiler] Do not convert null-aware int? equality to IfThenElse
IfThenElse instruction expects a simple Smi comparison and it doesn't
support null-aware int? comparison (although it uses the same kTagged
representation).
TEST=runtime/tests/vm/dart/regress_b378737064_test.dart
Fixes b/378737064
Change-Id: Iaf9243ff5505b986bbfe4510834972e75869dc61
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/394570
Commit-Queue: Alexander Markov <[email protected]>
Reviewed-by: Ryan Macnak <[email protected]>1 parent 2fbb33e commit f3d8167
File tree
2 files changed
+28
-1
lines changed- runtime
- tests/vm/dart
- vm/compiler/backend
2 files changed
+28
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6564 | 6564 | | |
6565 | 6565 | | |
6566 | 6566 | | |
6567 | | - | |
| 6567 | + | |
| 6568 | + | |
| 6569 | + | |
| 6570 | + | |
| 6571 | + | |
| 6572 | + | |
6568 | 6573 | | |
6569 | 6574 | | |
6570 | 6575 | | |
| |||
0 commit comments