1
Fork 0

Avoid logging the whole MIR body in SimplifyCfg

This commit is contained in:
Tomasz Miąsko 2021-01-17 00:00:00 +00:00
parent 7d3818152d
commit c7bad7ba5d

View file

@ -61,7 +61,7 @@ impl<'tcx> MirPass<'tcx> for SimplifyCfg {
}
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);
}
}