about summary refs log tree commit diff
path: root/src/optimize
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2020-02-22 15:17:30 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2020-02-22 15:18:03 +0100
commitcc30c202938e79126c4e94fc6719fc018f834cfb (patch)
tree8264ed65c4e0700a870231420375ed894788934b /src/optimize
parent43e23af7002f7e43a4ebe2d891367cab36cf0706 (diff)
downloadrust-cc30c202938e79126c4e94fc6719fc018f834cfb.tar.gz
rust-cc30c202938e79126c4e94fc6719fc018f834cfb.zip
Silence some warnings
Diffstat (limited to 'src/optimize')
-rw-r--r--src/optimize/stack2reg.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/optimize/stack2reg.rs b/src/optimize/stack2reg.rs
index acce3a6465b..4e9cff76365 100644
--- a/src/optimize/stack2reg.rs
+++ b/src/optimize/stack2reg.rs
@@ -155,7 +155,7 @@ impl<'a> OptimizeContext<'a> {
 
 pub(super) fn optimize_function<T: std::fmt::Debug>(
     ctx: &mut Context,
-    clif_comments: &mut crate::pretty_clif::CommentWriter,
+    _clif_comments: &mut crate::pretty_clif::CommentWriter,
     name: T,
 ) {
     combine_stack_addr_with_load_store(&mut ctx.func);