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 Jun 14, 2024
1 parent 7ac6c2f commit 3af6242
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 @@ -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>,
}
Expand Down Expand Up @@ -280,7 +279,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 3af6242

Please sign in to comment.