Avoid logging the whole MIR body in SimplifyCfg
This commit is contained in:
parent
7d3818152d
commit
c7bad7ba5d
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ impl<'tcx> MirPass<'tcx> for SimplifyCfg {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn run_pass(&self, _tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
|
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);
|
simplify_cfg(body);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue