about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2020-08-12 11:58:58 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2020-08-12 11:59:17 -0400
commitfc163ed4eed34a4dcd32eb24a48502c5d572f120 (patch)
treeab2631b6b8a2bd21263ef9725cb77d108f1d2d29
parentf043c8fa488a2f3a0078cf4ee025125f5874ea5c (diff)
downloadrust-fc163ed4eed34a4dcd32eb24a48502c5d572f120.tar.gz
rust-fc163ed4eed34a4dcd32eb24a48502c5d572f120.zip
Remove AsmDialect::Other
Added in #35174, this was already unused (and new uses have not been introduced
since then).
-rw-r--r--src/librustc_codegen_llvm/llvm/ffi.rs3
-rw-r--r--src/rustllvm/RustWrapper.cpp1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/librustc_codegen_llvm/llvm/ffi.rs b/src/librustc_codegen_llvm/llvm/ffi.rs
index b55a234d82b..0ab69298bc4 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 321e07a5aba..9d90b0dfe07 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,
 };