diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2022-07-26 11:29:18 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2022-07-26 11:29:18 +0000 |
| commit | 017e1726ff658117f43854181fb75c6b26a53b88 (patch) | |
| tree | 86f409a249f66d21f1570e200d9cae3afbcae3a3 /compiler/rustc_codegen_llvm/src/llvm/mod.rs | |
| parent | b629c85bd74dfb730a3e9308312b007c0bf027cb (diff) | |
| download | rust-017e1726ff658117f43854181fb75c6b26a53b88.tar.gz rust-017e1726ff658117f43854181fb75c6b26a53b88.zip | |
Remove dead code from cg_llvm
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/mod.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/mod.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/mod.rs b/compiler/rustc_codegen_llvm/src/llvm/mod.rs index 48fbc1de8ee..fd9076eb363 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/mod.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/mod.rs @@ -158,12 +158,6 @@ pub fn SetUniqueComdat(llmod: &Module, val: &Value) { } } -pub fn UnsetComdat(val: &Value) { - unsafe { - LLVMRustUnsetComdat(val); - } -} - pub fn SetUnnamedAddress(global: &Value, unnamed: UnnamedAddr) { unsafe { LLVMSetUnnamedAddress(global, unnamed); |
