Save pre-link bitcode to ModuleCodegen
This commit is contained in:
parent
9431427cc3
commit
da50297a6e
7 changed files with 33 additions and 22 deletions
|
@ -194,7 +194,7 @@ impl WriteBackendMethods for LlvmCodegenBackend {
|
|||
unsafe fn optimize(
|
||||
cgcx: &CodegenContext<Self>,
|
||||
dcx: DiagCtxtHandle<'_>,
|
||||
module: &ModuleCodegen<Self::Module>,
|
||||
module: &mut ModuleCodegen<Self::Module>,
|
||||
config: &ModuleConfig,
|
||||
) -> Result<(), FatalError> {
|
||||
unsafe { back::write::optimize(cgcx, dcx, module, config) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue