Update src/pretty_clif.rs
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
This commit is contained in:
parent
6dd0246199
commit
c0ad988a3a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue