Commit 59db156
[flow analysis] Make split/conseravativeJoin order more uniform.
While doing specification work for flow analysis, I noticed that in
circumstances where a flow model needs to have both the `split` and
`conservativeJoin` operations applied to it, sometimes flow analysis
applied `split` first, and sometimes it applied `conservativeJoin`
first.
The actual order doesn't matter, since `split` only affects the flow
model's reachability, and `conservativeJoin` only affects the flow
model's variable info. But for the purpose of making the specification
clearer, it's nice to be consistent. This change adjusts the order so
that `split` always happens before `conservativeJoin`.
Change-Id: Ia5dfc9335ee85f122ae274f6bb850f83f12b88d2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/437060
Reviewed-by: Konstantin Shcheglov <[email protected]>
Commit-Queue: Paul Berry <[email protected]>1 parent d2923b2 commit 59db156
File tree
1 file changed
+15
-6
lines changed1 file changed
+15
-6
lines changedLines changed: 15 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5525 | 5525 | | |
5526 | 5526 | | |
5527 | 5527 | | |
5528 | | - | |
5529 | | - | |
| 5528 | + | |
| 5529 | + | |
| 5530 | + | |
| 5531 | + | |
| 5532 | + | |
5530 | 5533 | | |
5531 | 5534 | | |
5532 | 5535 | | |
| |||
5667 | 5670 | | |
5668 | 5671 | | |
5669 | 5672 | | |
5670 | | - | |
5671 | | - | |
| 5673 | + | |
| 5674 | + | |
| 5675 | + | |
| 5676 | + | |
| 5677 | + | |
5672 | 5678 | | |
5673 | 5679 | | |
5674 | 5680 | | |
| |||
5694 | 5700 | | |
5695 | 5701 | | |
5696 | 5702 | | |
5697 | | - | |
5698 | | - | |
| 5703 | + | |
| 5704 | + | |
| 5705 | + | |
| 5706 | + | |
| 5707 | + | |
5699 | 5708 | | |
5700 | 5709 | | |
5701 | 5710 | | |
| |||
0 commit comments