mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
renamed a64_only data member in Intrinsic to arch_tags
This commit is contained in:
committed by
Amanieu d'Antras
parent
f05ffd4a0b
commit
add7b2e402
@@ -109,6 +109,6 @@ fn json_to_intrinsic(
|
||||
name,
|
||||
arguments,
|
||||
results: *results,
|
||||
a64_only: intr.architectures == vec!["A64".to_string()],
|
||||
arch_tags: intr.architectures,
|
||||
})
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ fn create(cli_options: ProcessedCli) -> Self {
|
||||
.filter(|i| !i.arguments.iter().any(|a| a.is_ptr()))
|
||||
.filter(|i| !i.arguments.iter().any(|a| a.ty.inner_size() == 128))
|
||||
.filter(|i| !cli_options.skip.contains(&i.name))
|
||||
.filter(|i| !(a32 && i.a64_only))
|
||||
.filter(|i| !(a32 && i.arch_tags == vec!["A64".to_string()]))
|
||||
.collect::<Vec<_>>();
|
||||
intrinsics.dedup();
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@ pub struct Intrinsic<T: IntrinsicTypeDefinition, M: MetadataDefinition> {
|
||||
/// The return type of this intrinsic.
|
||||
pub results: T,
|
||||
|
||||
/// Whether this intrinsic is only available on A64.
|
||||
pub a64_only: bool,
|
||||
/// Any architecture-specific tags.
|
||||
pub arch_tags: Vec<String>,
|
||||
}
|
||||
|
||||
pub trait IntrinsicDefinition<T, M>
|
||||
|
||||
Reference in New Issue
Block a user