]> git.proxmox.com Git - rustc.git/blobdiff - src/librustc_target/asm/x86.rs
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / src / librustc_target / asm / x86.rs
index ed51b526414d138bf78af559094348bfffd95ea5..0f62c19e1a3cde0ec0fcef2ff01bf788cfb34004 100644 (file)
@@ -1,4 +1,5 @@
 use super::{InlineAsmArch, InlineAsmType};
+use crate::spec::Target;
 use rustc_macros::HashStable_Generic;
 use std::fmt;
 
@@ -131,6 +132,7 @@ impl X86InlineAsmRegClass {
 fn x86_64_only(
     arch: InlineAsmArch,
     _has_feature: impl FnMut(&str) -> bool,
+    _target: &Target,
     _allocating: bool,
 ) -> Result<(), &'static str> {
     match arch {
@@ -143,6 +145,7 @@ fn x86_64_only(
 fn high_byte(
     arch: InlineAsmArch,
     _has_feature: impl FnMut(&str) -> bool,
+    _target: &Target,
     allocating: bool,
 ) -> Result<(), &'static str> {
     match arch {