rust/compiler
Nicholas Nethercote 4e8faff3a1 Be consistent about deciding whether to print pass data.
`print_time_passes_entry` unconditionally prints data about a pass. The
most commonly used call site, in `VerboseTimingGuard::drop`, guards it
with a `should_print_passes` test. But there are a couple of other call
sites that don't do that test.

This commit moves the `should_print_passes` test within
`print_time_passes_entry` so that all passes are treated equally.
2022-10-06 15:50:10 +11:00
..
2022-10-03 11:42:29 +11:00
2022-10-06 15:49:44 +11:00
2022-10-06 15:49:44 +11:00
2022-10-06 15:49:44 +11:00
2022-10-03 11:41:36 +11:00
2022-09-29 08:44:52 +10:00
2022-09-29 08:44:52 +10:00
2022-10-06 15:49:44 +11:00
2022-10-06 15:49:44 +11:00
2022-10-01 10:03:06 +00:00
2022-09-29 08:44:52 +10:00
2022-10-06 15:49:44 +11:00
2022-09-29 08:44:52 +10:00
2022-10-06 15:49:44 +11:00