Skip to content

Commit 3af6242

Browse files
committed
rustc_codegen_ssa: Remove unused ModuleConfig::inline_threshold
1 parent 7ac6c2f commit 3af6242

File tree

1 file changed

+0
-2
lines changed
  • compiler/rustc_codegen_ssa/src/back

1 file changed

+0
-2
lines changed

compiler/rustc_codegen_ssa/src/back/write.rs

-2
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ pub struct ModuleConfig {
120120
pub vectorize_loop: bool,
121121
pub vectorize_slp: bool,
122122
pub merge_functions: bool,
123-
pub inline_threshold: Option<u32>,
124123
pub emit_lifetime_markers: bool,
125124
pub llvm_plugins: Vec<String>,
126125
}
@@ -280,7 +279,6 @@ impl ModuleConfig {
280279
}
281280
},
282281

283-
inline_threshold: sess.opts.cg.inline_threshold,
284282
emit_lifetime_markers: sess.emit_lifetime_markers(),
285283
llvm_plugins: if_regular!(sess.opts.unstable_opts.llvm_plugins.clone(), vec![]),
286284
}

0 commit comments

Comments
 (0)