rustc_codegen_ssa: Remove unused ModuleConfig::inline_threshold · rust-lang/rust@3af6242 (original) (raw)

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -120,7 +120,6 @@ pub struct ModuleConfig {
120 120 pub vectorize_loop: bool,
121 121 pub vectorize_slp: bool,
122 122 pub merge_functions: bool,
123 -pub inline_threshold: Option<u32>,
124 123 pub emit_lifetime_markers: bool,
125 124 pub llvm_plugins: Vec<String>,
126 125 }
@@ -280,7 +279,6 @@ impl ModuleConfig {
280 279 }
281 280 },
282 281
283 -inline_threshold: sess.opts.cg.inline_threshold,
284 282 emit_lifetime_markers: sess.emit_lifetime_markers(),
285 283 llvm_plugins: if_regular!(sess.opts.unstable_opts.llvm_plugins.clone(), vec![]),
286 284 }