Create format_args as late as possible

This commit is contained in:
Oli Scherer
2022-12-01 08:49:51 +00:00
parent 66797fa54f
commit 4f593ce5d8
7 changed files with 29 additions and 51 deletions

View File

@@ -787,7 +787,7 @@ fn dest_prop_mir_dump<'body, 'tcx>(
round: usize,
) {
let mut reachable = None;
dump_mir(tcx, None, "DestinationPropagation-dataflow", &round, body, |pass_where, w| {
dump_mir(tcx, false, "DestinationPropagation-dataflow", &round, body, |pass_where, w| {
let reachable = reachable.get_or_insert_with(|| traversal::reachable_as_bitset(body));
match pass_where {