diff options
| author | Martin Nordholts <martin.nordholts@codetale.se> | 2024-05-04 16:16:34 +0200 |
|---|---|---|
| committer | Martin Nordholts <martin.nordholts@codetale.se> | 2024-06-14 19:36:29 +0200 |
| commit | 3af624272aeb25f0e7be4e1752631a86ce7c6358 (patch) | |
| tree | e3fd4beaf7ab8179793502817e68b396180930a6 | |
| parent | 7ac6c2fc685681824fbfc156b38035df743881dd (diff) | |
| download | rust-3af624272aeb25f0e7be4e1752631a86ce7c6358.tar.gz rust-3af624272aeb25f0e7be4e1752631a86ce7c6358.zip | |
rustc_codegen_ssa: Remove unused ModuleConfig::inline_threshold
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/write.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/write.rs b/compiler/rustc_codegen_ssa/src/back/write.rs index dec87db0fc5..9115f130d49 100644 --- a/compiler/rustc_codegen_ssa/src/back/write.rs +++ b/compiler/rustc_codegen_ssa/src/back/write.rs @@ -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>, } @@ -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![]), } |
