Profile MIR passes.

This commit is contained in:
Camille GILLOT
2023-05-15 20:23:34 +00:00
parent 2913ad6db0
commit addc72799a
4 changed files with 7 additions and 7 deletions

View File

@@ -74,7 +74,7 @@ pub fn simplify_cfg<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
}
impl<'tcx> MirPass<'tcx> for SimplifyCfg {
fn name(&self) -> &str {
fn name(&self) -> &'static str {
&self.name()
}