optimize: Remove conditional compilation on instance

Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
This commit is contained in:
CohenArthur 2020-08-28 12:26:52 +02:00 committed by GitHub
parent ed35bc8414
commit 365cebf779
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@
pub(crate) fn optimize_function<'tcx>(
tcx: TyCtxt<'tcx>,
#[cfg_attr(not(debug_assertions), allow(unused_variables))] instance: Instance<'tcx>,
instance: Instance<'tcx>,
ctx: &mut Context,
cold_blocks: &EntitySet<Block>,
clif_comments: &mut crate::pretty_clif::CommentWriter,