Rollup merge of #81121 - tmiasko:simplify-cfg-no-dbg, r=jonas-schievink

Avoid logging the whole MIR body in SimplifyCfg
This commit is contained in:
Ashley Mannix
2021-01-18 21:53:31 +10:00
committed by GitHub
+1 -1
View File
@@ -61,7 +61,7 @@ fn name(&self) -> Cow<'_, str> {
}
fn run_pass(&self, _tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
debug!("SimplifyCfg({:?}) - simplifying {:?}", self.label, body);
debug!("SimplifyCfg({:?}) - simplifying {:?}", self.label, body.source);
simplify_cfg(body);
}
}