File tree 2 files changed +5
-9
lines changed 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,7 @@ fn clif_sig_from_fn_abi<'tcx>(
38
38
| Conv :: X86VectorCall
39
39
| Conv :: AmdGpuKernel
40
40
| Conv :: AvrInterrupt
41
- | Conv :: AvrNonBlockingInterrupt => {
42
- todo ! ( "{:?}" , fn_abi. conv)
43
- }
41
+ | Conv :: AvrNonBlockingInterrupt => todo ! ( "{:?}" , fn_abi. conv) ,
44
42
} ;
45
43
let inputs = fn_abi
46
44
. args
Original file line number Diff line number Diff line change @@ -98,12 +98,10 @@ impl<'tcx> ArgAbiExt<'tcx> for ArgAbi<'tcx, Ty<'tcx>> {
98
98
match self . mode {
99
99
PassMode :: Ignore => smallvec ! [ ] ,
100
100
PassMode :: Direct ( attrs) => match & self . layout . abi {
101
- Abi :: Scalar ( scalar) => {
102
- smallvec ! [ apply_arg_attrs_to_abi_param(
103
- AbiParam :: new( scalar_to_clif_type( tcx, scalar. clone( ) ) ) ,
104
- attrs
105
- ) ]
106
- }
101
+ Abi :: Scalar ( scalar) => smallvec ! [ apply_arg_attrs_to_abi_param(
102
+ AbiParam :: new( scalar_to_clif_type( tcx, scalar. clone( ) ) ) ,
103
+ attrs
104
+ ) ] ,
107
105
Abi :: Vector { .. } => {
108
106
let vector_ty = crate :: intrinsics:: clif_vector_type ( tcx, self . layout ) . unwrap ( ) ;
109
107
smallvec ! [ AbiParam :: new( vector_ty) ]
You can’t perform that action at this time.
0 commit comments