-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Commit ec7c026
Auto merge of #144863 - cjgillot:live-or-dead, r=Urgau
Simplify dead code lint
This PR scratches a few itches I had when looking at that code.
The perf improvement comes from keeping the `scanned` set through several marking phases. This pretty much divides by 2 the number of HIR traversals.3 files changed
+199
-274
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1178 | 1178 |
| |
1179 | 1179 |
| |
1180 | 1180 |
| |
1181 | - | ||
1182 | - | ||
1181 | + | ||
1183 | 1182 |
| |
1184 | 1183 |
| |
1185 | - | ||
1184 | + | ||
1186 | 1185 |
| |
1187 | 1186 |
| |
1188 | 1187 |
| |
|
0 commit comments