about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm/mod.rs
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2020-10-09 11:21:30 +0200
committerest31 <MTest31@outlook.com>2020-10-14 04:14:32 +0200
commitfeaac592a303f7407d604b52aa2abf42be68b40b (patch)
treec58dadef1d8980b65a9cb3fe9307ab11e2d94a9c /compiler/rustc_codegen_llvm/src/llvm/mod.rs
parent49d4a756f1138d8246abb1c027490d1ea37be920 (diff)
downloadrust-feaac592a303f7407d604b52aa2abf42be68b40b.tar.gz
rust-feaac592a303f7407d604b52aa2abf42be68b40b.zip
Remove unused code from rustc_codegen_*
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/mod.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm/mod.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/mod.rs b/compiler/rustc_codegen_llvm/src/llvm/mod.rs
index ed9b99188bb..53a404ee019 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/mod.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/mod.rs
@@ -118,11 +118,6 @@ pub fn SetUnnamedAddress(global: &'a Value, unnamed: UnnamedAddr) {
     }
 }
 
-pub fn set_thread_local(global: &'a Value, is_thread_local: bool) {
-    unsafe {
-        LLVMSetThreadLocal(global, is_thread_local as Bool);
-    }
-}
 pub fn set_thread_local_mode(global: &'a Value, mode: ThreadLocalMode) {
     unsafe {
         LLVMSetThreadLocalMode(global, mode);