Add #[cfg(debug_assertions)] to write_clif_file

This silences a warning in release mode
This commit is contained in:
bjorn3 2020-01-25 17:54:49 +01:00
parent 8de317dd8f
commit 92d4356130

View File

@ -201,6 +201,7 @@ impl<'a, 'tcx, B: Backend + 'static> FunctionCx<'_, 'tcx, B> {
}
}
#[cfg(debug_assertions)]
pub fn write_clif_file<'tcx>(
tcx: TyCtxt<'tcx>,
postfix: &str,