Remove deprecated LLVM-style inline assembly
This commit is contained in:
parent
72e74d7b9c
commit
000b36c505
68 changed files with 27 additions and 1132 deletions
|
@ -423,22 +423,13 @@ pub enum MetadataType {
|
|||
}
|
||||
|
||||
/// LLVMRustAsmDialect
|
||||
#[derive(Copy, Clone)]
|
||||
#[derive(Copy, Clone, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum AsmDialect {
|
||||
Att,
|
||||
Intel,
|
||||
}
|
||||
|
||||
impl AsmDialect {
|
||||
pub fn from_generic(asm: rustc_ast::LlvmAsmDialect) -> Self {
|
||||
match asm {
|
||||
rustc_ast::LlvmAsmDialect::Att => AsmDialect::Att,
|
||||
rustc_ast::LlvmAsmDialect::Intel => AsmDialect::Intel,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// LLVMRustCodeGenOptLevel
|
||||
#[derive(Copy, Clone, PartialEq)]
|
||||
#[repr(C)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue