Skip to content

Commit 3b22c3a

Browse files
committed
Remove unnecessary bailout in clif_pair_type_from_ty
1 parent edadc29 commit 3b22c3a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/common.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@ fn clif_pair_type_from_ty<'tcx>(
9090
let mut types = substs.types();
9191
let a = clif_type_from_ty(tcx, types.next().unwrap())?;
9292
let b = clif_type_from_ty(tcx, types.next().unwrap())?;
93-
if a.is_vector() || b.is_vector() {
94-
return None;
95-
}
9693
(a, b)
9794
}
9895
ty::RawPtr(TypeAndMut { ty: pointee_ty, mutbl: _ }) | ty::Ref(_, pointee_ty, _) => {

0 commit comments

Comments
 (0)