mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
cleanup: remove leftover extra block
This was needed in an older version of this patch, but never got edited out when it became obsolete.
This commit is contained in:
parent
aa91871539
commit
03d5556ced
@ -745,7 +745,6 @@ pub(crate) unsafe fn codegen(
|
||||
}
|
||||
|
||||
if config.emit_bc || config.emit_obj == EmitObj::Bitcode {
|
||||
{
|
||||
let _timer = cgcx.prof.generic_activity_with_arg(
|
||||
"LLVM_module_codegen_emit_bitcode",
|
||||
&*module.name,
|
||||
@ -753,7 +752,6 @@ pub(crate) unsafe fn codegen(
|
||||
if let Err(err) = fs::write(&bc_out, data) {
|
||||
dcx.emit_err(WriteBytecode { path: &bc_out, err });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if config.emit_obj == EmitObj::ObjectCode(BitcodeSection::Full) {
|
||||
|
Loading…
Reference in New Issue
Block a user