about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2020-03-19 17:00:41 +1100
committerNicholas Nethercote <nnethercote@mozilla.com>2020-03-19 17:00:41 +1100
commitc54ce496635e0e013e14aa4be5d86c1247f9319a (patch)
treea313ee7b48327a1a98a91923159de0a3b47ebfe5 /src
parentf509b26a7730d721ef87423a72b3fdf8724b4afa (diff)
Remove unused `ModuleConfig::emit_lto_bc` field.
Diffstat (limited to 'src')
-rw-r--r--src/librustc_codegen_ssa/back/write.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/librustc_codegen_ssa/back/write.rs b/src/librustc_codegen_ssa/back/write.rs
index dbc2ef6f2b0..87764593fda 100644
--- a/src/librustc_codegen_ssa/back/write.rs
+++ b/src/librustc_codegen_ssa/back/write.rs
@@ -74,7 +74,6 @@ pub struct ModuleConfig {
     pub emit_no_opt_bc: bool,
     pub emit_bc: bool,
     pub emit_bc_compressed: bool,
-    pub emit_lto_bc: bool,
     pub emit_ir: bool,
     pub emit_asm: bool,
     pub emit_obj: bool,
@@ -116,7 +115,6 @@ impl ModuleConfig {
             emit_pre_lto_bc: false,
             emit_bc: false,
             emit_bc_compressed: false,
-            emit_lto_bc: false,
             emit_ir: false,
             emit_asm: false,
             emit_obj: false,
@@ -381,7 +379,6 @@ pub fn start_async_codegen<B: ExtraBackendMethods>(
         modules_config.emit_no_opt_bc = true;
         modules_config.emit_pre_lto_bc = true;
         modules_config.emit_bc = true;
-        modules_config.emit_lto_bc = true;
         metadata_config.emit_bc = true;
         allocator_config.emit_bc = true;
     }