Remove unnecessary parts of run_fat_lto signature
Fat LTO merges into one module, so only return one module.
This commit is contained in:
parent
bdbee6311b
commit
bc2db43b9e
4 changed files with 12 additions and 19 deletions
|
@ -179,10 +179,9 @@ impl WriteBackendMethods for LlvmCodegenBackend {
|
|||
fn run_fat_lto(
|
||||
cgcx: &CodegenContext<Self>,
|
||||
modules: Vec<ModuleCodegen<Self::Module>>,
|
||||
cached_modules: Vec<(SerializedModule<Self::ModuleBuffer>, WorkProduct)>,
|
||||
timeline: &mut Timeline
|
||||
) -> Result<(Vec<LtoModuleCodegen<Self>>, Vec<WorkProduct>), FatalError> {
|
||||
back::lto::run_fat(cgcx, modules, cached_modules, timeline)
|
||||
) -> Result<LtoModuleCodegen<Self>, FatalError> {
|
||||
back::lto::run_fat(cgcx, modules, timeline)
|
||||
}
|
||||
fn run_thin_lto(
|
||||
cgcx: &CodegenContext<Self>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue