]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_target/src/abi/call/x86_64.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / compiler / rustc_target / src / abi / call / x86_64.rs
index fae3c3af61bf01f02c41f72f1978ff7036513671..a52e01a495a57e0d76c1a33aad089fb901ddc6d7 100644 (file)
@@ -49,7 +49,7 @@ where
         let mut c = match layout.abi {
             Abi::Uninhabited => return Ok(()),
 
-            Abi::Scalar(scalar) => match scalar.value {
+            Abi::Scalar(scalar) => match scalar.primitive() {
                 abi::Int(..) | abi::Pointer => Class::Int,
                 abi::F32 | abi::F64 => Class::Sse,
             },