Test: Use smallvec directly instead of boxed.

This commit is contained in:
Hans Kratz 2021-08-09 15:42:37 +00:00
parent 1d4972e0e9
commit 02295f464a
2 changed files with 4 additions and 4 deletions

View file

@ -103,7 +103,7 @@ pub struct TypeLowering<'ll> {
/// If padding is used the slice maps fields from source order
/// to llvm order.
pub field_remapping: Option<Box<SmallVec<[u32; 4]>>>,
pub field_remapping: Option<SmallVec<[u32; 4]>>,
}
fn to_llvm_tls_model(tls_model: TlsModel) -> llvm::ThreadLocalMode {