From feaac592a303f7407d604b52aa2abf42be68b40b Mon Sep 17 00:00:00 2001 From: est31 Date: Fri, 9 Oct 2020 11:21:30 +0200 Subject: Remove unused code from rustc_codegen_* --- compiler/rustc_codegen_llvm/src/llvm/mod.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'compiler/rustc_codegen_llvm/src') 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); -- cgit 1.4.1-3-g733a5