Skip to content

Commit ce7c3bf

Browse files
committed
rustc_codegen_ssa: Remove unused ModuleConfig::inline_threshold
1 parent 7dd170f commit ce7c3bf

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ pub struct ModuleConfig {
118118
pub vectorize_loop: bool,
119119
pub vectorize_slp: bool,
120120
pub merge_functions: bool,
121-
pub inline_threshold: Option<u32>,
122121
pub emit_lifetime_markers: bool,
123122
pub llvm_plugins: Vec<String>,
124123
}
@@ -274,7 +273,6 @@ impl ModuleConfig {
274273
}
275274
},
276275

277-
inline_threshold: sess.opts.cg.inline_threshold,
278276
emit_lifetime_markers: sess.emit_lifetime_markers(),
279277
llvm_plugins: if_regular!(sess.opts.unstable_opts.llvm_plugins.clone(), vec![]),
280278
}

0 commit comments

Comments
 (0)