1
Fork 0

Bump all mir_opt_level 3 to 4

This commit is contained in:
Santiago Pastorino 2021-03-03 18:30:42 -03:00
parent fde8d6ee81
commit f3b8920d4b
No known key found for this signature in database
GPG key ID: 8131A24E0C79EFAF
5 changed files with 7 additions and 7 deletions

View file

@ -28,7 +28,7 @@ pub struct ConstGoto;
impl<'tcx> MirPass<'tcx> for ConstGoto {
fn run_pass(&self, tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
if tcx.sess.mir_opt_level() < 3 {
if tcx.sess.mir_opt_level() < 4 {
return;
}
trace!("Running ConstGoto on {:?}", body.source);