@@ -289,13 +289,12 @@ pub(crate) fn codegen_fn_prelude<'tcx>(fx: &mut FunctionCx<'_, '_, 'tcx>, start_
289289 let arg_abi = arg_abis_iter. next ( ) . unwrap ( ) ;
290290 let value =
291291 cvalue_for_param ( fx, Some ( local) , Some ( i) , arg_abi, & mut block_params_iter) ;
292- let underaligned_pointee_align =
293- match arg_abi. mode {
294- PassMode :: Indirect { attrs, .. } => attrs
295- . pointee_align
296- . filter ( |& pointee_align| pointee_align < arg_abi. layout . align . abi ) ,
297- _ => None ,
298- } ;
292+ let underaligned_pointee_align = match arg_abi. mode {
293+ PassMode :: Indirect { attrs, .. } => attrs
294+ . pointee_align
295+ . filter ( |& pointee_align| pointee_align < arg_abi. layout . align . abi ) ,
296+ _ => None ,
297+ } ;
299298 params. push ( ArgValue { value, underaligned_pointee_align } ) ;
300299 }
301300
@@ -310,11 +309,7 @@ pub(crate) fn codegen_fn_prelude<'tcx>(fx: &mut FunctionCx<'_, '_, 'tcx>, start_
310309 . filter ( |& pointee_align| pointee_align < arg_abi. layout . align . abi ) ,
311310 _ => None ,
312311 } ;
313- (
314- local,
315- ArgKind :: Normal ( ArgValue { value, underaligned_pointee_align } ) ,
316- arg_ty,
317- )
312+ ( local, ArgKind :: Normal ( ArgValue { value, underaligned_pointee_align } ) , arg_ty)
318313 }
319314 } )
320315 . collect :: < Vec < ( Local , ArgKind < ' tcx > , Ty < ' tcx > ) > > ( ) ;
0 commit comments