From fc163ed4eed34a4dcd32eb24a48502c5d572f120 Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Wed, 12 Aug 2020 11:58:58 -0400 Subject: [PATCH] Remove AsmDialect::Other Added in #35174, this was already unused (and new uses have not been introduced since then). --- src/librustc_codegen_llvm/llvm/ffi.rs | 3 --- src/rustllvm/RustWrapper.cpp | 1 - 2 files changed, 4 deletions(-) diff --git a/src/librustc_codegen_llvm/llvm/ffi.rs b/src/librustc_codegen_llvm/llvm/ffi.rs index b55a234d82bab..0ab69298bc469 100644 --- a/src/librustc_codegen_llvm/llvm/ffi.rs +++ b/src/librustc_codegen_llvm/llvm/ffi.rs @@ -384,9 +384,6 @@ pub enum MetadataType { #[derive(Copy, Clone)] #[repr(C)] pub enum AsmDialect { - // FIXME: figure out if this variant is needed at all. - #[allow(dead_code)] - Other, Att, Intel, } diff --git a/src/rustllvm/RustWrapper.cpp b/src/rustllvm/RustWrapper.cpp index 321e07a5aba47..9d90b0dfe0702 100644 --- a/src/rustllvm/RustWrapper.cpp +++ b/src/rustllvm/RustWrapper.cpp @@ -388,7 +388,6 @@ LLVMRustBuildAtomicFence(LLVMBuilderRef B, LLVMAtomicOrdering Order, } enum class LLVMRustAsmDialect { - Other, Att, Intel, };