Commit ba6cf2e
authored
Bysyncify: fix skipping of flattened if condition (#2187)
We assigned it to a local, but didn't run maybeSkip on it. As a result, it was executed during rewinding, which broke restoring the saved value.
Found by the fuzzer.1 parent 04c55fd commit ba6cf2e
4 files changed
Lines changed: 142 additions & 51 deletions
File tree
- src/passes
- test/passes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
661 | | - | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
662 | 665 | | |
663 | 666 | | |
664 | 667 | | |
| |||
674 | 677 | | |
675 | 678 | | |
676 | 679 | | |
677 | | - | |
| 680 | + | |
678 | 681 | | |
679 | 682 | | |
680 | 683 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1365 | 1365 | | |
1366 | 1366 | | |
1367 | 1367 | | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
1368 | 1377 | | |
1369 | 1378 | | |
1370 | | - | |
1371 | | - | |
1372 | | - | |
| 1379 | + | |
1373 | 1380 | | |
1374 | 1381 | | |
1375 | 1382 | | |
| |||
1616 | 1623 | | |
1617 | 1624 | | |
1618 | 1625 | | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
1619 | 1635 | | |
1620 | 1636 | | |
1621 | | - | |
1622 | | - | |
1623 | | - | |
| 1637 | + | |
1624 | 1638 | | |
1625 | 1639 | | |
1626 | 1640 | | |
| |||
1856 | 1870 | | |
1857 | 1871 | | |
1858 | 1872 | | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
1859 | 1882 | | |
1860 | 1883 | | |
1861 | | - | |
1862 | | - | |
1863 | | - | |
| 1884 | + | |
1864 | 1885 | | |
1865 | 1886 | | |
1866 | 1887 | | |
| |||
0 commit comments