diff options
| author | Jubilee <workingjubilee@gmail.com> | 2024-09-09 19:20:36 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-09 19:20:36 -0700 |
| commit | 88a2c62652ab6f319f711d952fc4de1d7cc91f2d (patch) | |
| tree | 593dbac8aa667b94d19196908f8efa8aa61c3ab6 /compiler/rustc_codegen_gcc | |
| parent | a4c61048d84af836c68436a2fac57f5035c6cb72 (diff) | |
| parent | bbe28cf1d9c52888f2a48324001c6599fc3d2853 (diff) | |
| download | rust-88a2c62652ab6f319f711d952fc4de1d7cc91f2d.tar.gz rust-88a2c62652ab6f319f711d952fc4de1d7cc91f2d.zip | |
Rollup merge of #129981 - nnethercote:rm-serialize_bitcode, r=antoyo,tmiasko
Remove `serialized_bitcode` from `LtoModuleCodegen`. It's unused. r? ``@bjorn3``
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/back/lto.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_codegen_gcc/src/back/lto.rs b/compiler/rustc_codegen_gcc/src/back/lto.rs index 6b2dbbbed67..c2adab7137f 100644 --- a/compiler/rustc_codegen_gcc/src/back/lto.rs +++ b/compiler/rustc_codegen_gcc/src/back/lto.rs @@ -272,7 +272,6 @@ fn fat_lto( }*/ } }; - let mut serialized_bitcode = Vec::new(); { info!("using {:?} as a base module", module.name); @@ -317,7 +316,6 @@ fn fat_lto( unimplemented!("from uncompressed file") } } - serialized_bitcode.push(bc_decoded); } save_temp_bitcode(cgcx, &module, "lto.input"); @@ -337,7 +335,7 @@ fn fat_lto( // of now. module.module_llvm.temp_dir = Some(tmp_path); - Ok(LtoModuleCodegen::Fat { module, _serialized_bitcode: serialized_bitcode }) + Ok(LtoModuleCodegen::Fat(module)) } pub struct ModuleBuffer(PathBuf); |
