diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2020-08-11 16:16:26 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2020-08-11 16:16:28 -0400 |
| commit | a3c73ca88c58082123a217ddaea535639093a4d5 (patch) | |
| tree | b5c596c7ff548a14c9f74b3394aad64675e41e46 /src/librustc_codegen_llvm/llvm | |
| parent | 1275cc15d6aa0597f0b3bbf8aa0750239f9da7b2 (diff) | |
| download | rust-a3c73ca88c58082123a217ddaea535639093a4d5.tar.gz rust-a3c73ca88c58082123a217ddaea535639093a4d5.zip | |
Remove SynchronizationScope::Other
Added in b7615389978eae2ae9f3cba9a776fd8da3f743ca, it started out already unused.
Diffstat (limited to 'src/librustc_codegen_llvm/llvm')
| -rw-r--r-- | src/librustc_codegen_llvm/llvm/ffi.rs | 4 |
1 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 eb7dc827f93..33caf674bfe 100644 --- a/src/librustc_codegen_llvm/llvm/ffi.rs +++ b/src/librustc_codegen_llvm/llvm/ffi.rs @@ -337,9 +337,6 @@ impl AtomicOrdering { #[derive(Copy, Clone)] #[repr(C)] pub enum SynchronizationScope { - // FIXME: figure out if this variant is needed at all. - #[allow(dead_code)] - Other, SingleThread, CrossThread, } @@ -347,7 +344,6 @@ pub enum SynchronizationScope { impl SynchronizationScope { pub fn from_generic(sc: rustc_codegen_ssa::common::SynchronizationScope) -> Self { match sc { - rustc_codegen_ssa::common::SynchronizationScope::Other => SynchronizationScope::Other, rustc_codegen_ssa::common::SynchronizationScope::SingleThread => { SynchronizationScope::SingleThread } |
