Format
This commit is contained in:
parent
e74a268db5
commit
e1cf0a1d67
@ -338,8 +338,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
|
||||
/// Read vector length and element type
|
||||
pub fn read_vector_ty(
|
||||
&self, op: OpTy<'tcx, M::PointerTag>
|
||||
)
|
||||
-> (u64, &rustc::ty::TyS<'tcx>) {
|
||||
) -> (u64, &rustc::ty::TyS<'tcx>) {
|
||||
if let layout::Abi::Vector { .. } = op.layout.abi {
|
||||
(op.layout.ty.simd_size(*self.tcx) as _, op.layout.ty.simd_type(*self.tcx))
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user