Remove verbose_generic_activity_with_arg
This commit is contained in:
parent
01ce2d0ea1
commit
f742d88326
5 changed files with 20 additions and 48 deletions
|
@ -121,7 +121,10 @@ fn run_passes_inner<'tcx>(
|
|||
validate_body(tcx, body, format!("before pass {name}"));
|
||||
}
|
||||
|
||||
tcx.sess.time(name, || pass.run_pass(tcx, body));
|
||||
tcx.sess
|
||||
.prof
|
||||
.generic_activity_with_arg("mir_pass", name)
|
||||
.run(|| pass.run_pass(tcx, body));
|
||||
|
||||
if dump_enabled {
|
||||
dump_mir_for_pass(tcx, body, &name, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue