Skip to content

Commit 239f780

Browse files
tidy
1 parent 4c6fef7 commit 239f780

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

compiler/rustc_codegen_llvm/src/callee.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ pub(crate) fn get_fn<'ll, 'tcx>(cx: &CodegenCx<'ll, 'tcx>, instance: Instance<'t
3232
let fn_abi = cx.fn_abi_of_instance(instance, ty::List::empty());
3333

3434
let llfn = match cx.get_declared_value(sym) {
35-
Some(llfn) if !cx.tcx.is_codegened_item(instance.def_id()) || !instance.def_id().is_local() => llfn,
35+
Some(llfn)
36+
if !cx.tcx.is_codegened_item(instance.def_id()) || !instance.def_id().is_local() =>
37+
{
38+
llfn
39+
}
3640
_ => {
3741
let instance_def_id = instance.def_id();
3842
let llfn = if tcx.sess.target.arch == "x86"

0 commit comments

Comments
 (0)