Skip to content

Commit

Permalink
rustc_codegen_ssa: Remove unused ModuleConfig::inline_threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
Enselic committed May 4, 2024
1 parent 7dd170f commit ce7c3bf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions compiler/rustc_codegen_ssa/src/back/write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,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>,
}
Expand Down Expand Up @@ -274,7 +273,6 @@ impl ModuleConfig {
}
},

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![]),
}
Expand Down

0 comments on commit ce7c3bf

Please sign in to comment.