From c0ad988a3a994720904be8d77e92004daadda91c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Sinan=20A=C4=9Facan?= Date: Fri, 29 May 2020 11:53:58 +0300 Subject: [PATCH] Update src/pretty_clif.rs Co-authored-by: bjorn3 --- src/pretty_clif.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretty_clif.rs b/src/pretty_clif.rs index 420680e96a11..60dd97ab3fb4 100644 --- a/src/pretty_clif.rs +++ b/src/pretty_clif.rs @@ -208,7 +208,7 @@ pub(crate) fn write_clif_file<'tcx>( mut clif_comments: &CommentWriter, value_ranges: Option<&cranelift_codegen::ValueLabelsRanges>, ) { - if !(cfg!(debug_assertions) || tcx.sess.opts.output_types.contains_key(&OutputType::LlvmAssembly)) { + if !cfg!(debug_assertions) && !tcx.sess.opts.output_types.contains_key(&OutputType::LlvmAssembly) { return; }