]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_target/src/abi/call/mod.rs
New upstream version 1.64.0+dfsg1
[rustc.git] / compiler / rustc_target / src / abi / call / mod.rs
index ca1d1302ec68ac8960ff88828d8136c7e3649331..577126a95cc8c81bc43f9cd5e2779d49f66e55f9 100644 (file)
@@ -669,8 +669,10 @@ impl<'a, Ty> FnAbi<'a, Ty> {
 
         match &cx.target_spec().arch[..] {
             "x86" => {
-                let flavor = if let spec::abi::Abi::Fastcall { .. } = abi {
-                    x86::Flavor::Fastcall
+                let flavor = if let spec::abi::Abi::Fastcall { .. }
+                | spec::abi::Abi::Vectorcall { .. } = abi
+                {
+                    x86::Flavor::FastcallOrVectorcall
                 } else {
                     x86::Flavor::General
                 };