rustc_codegen_ssa: Remove unused ModuleConfig::inline_threshold

This commit is contained in:
Martin Nordholts 2024-05-04 16:16:34 +02:00
parent 7ac6c2fc68
commit 3af624272a

View File

@ -120,7 +120,6 @@ pub struct ModuleConfig {
pub vectorize_loop: bool,
pub vectorize_slp: bool,
pub merge_functions: bool,
pub inline_threshold: Option<u32>,
pub emit_lifetime_markers: bool,
pub llvm_plugins: Vec<String>,
}
@ -280,7 +279,6 @@ macro_rules! if_regular {
}
},
inline_threshold: sess.opts.cg.inline_threshold,
emit_lifetime_markers: sess.emit_lifetime_markers(),
llvm_plugins: if_regular!(sess.opts.unstable_opts.llvm_plugins.clone(), vec![]),
}