about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm
diff options
context:
space:
mode:
authorIrina Popa <irinagpopa@gmail.com>2018-07-10 14:37:52 +0300
committerIrina Popa <irinagpopa@gmail.com>2018-07-30 19:49:22 +0300
commitf224441ed5a6542c496e826088a99944d5963cbf (patch)
tree8337b533596b53d708c96202ff406e65904036fe /src/librustc_codegen_llvm
parent3eb50358e488e81c2b6d41c4237d605792923eb2 (diff)
downloadrust-f224441ed5a6542c496e826088a99944d5963cbf.tar.gz
rust-f224441ed5a6542c496e826088a99944d5963cbf.zip
rustc_codegen_llvm: remove unused UseRef type.
Diffstat (limited to 'src/librustc_codegen_llvm')
-rw-r--r--src/librustc_codegen_llvm/llvm/ffi.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/librustc_codegen_llvm/llvm/ffi.rs b/src/librustc_codegen_llvm/llvm/ffi.rs
index 1b6014b4952..d6b6d076807 100644
--- a/src/librustc_codegen_llvm/llvm/ffi.rs
+++ b/src/librustc_codegen_llvm/llvm/ffi.rs
@@ -388,8 +388,6 @@ extern { pub type PassManager; }
 pub type PassManagerRef = *mut PassManager;
 extern { pub type PassManagerBuilder; }
 pub type PassManagerBuilderRef = *mut PassManagerBuilder;
-extern { pub type Use; }
-pub type UseRef = *mut Use;
 extern { pub type ObjectFile; }
 pub type ObjectFileRef = *mut ObjectFile;
 extern { pub type SectionIterator; }
@@ -556,11 +554,6 @@ extern "C" {
     pub fn LLVMReplaceAllUsesWith(OldVal: &'a Value, NewVal: &'a Value);
     pub fn LLVMSetMetadata(Val: &'a Value, KindID: c_uint, Node: &'a Value);
 
-    // Operations on Uses
-    pub fn LLVMGetFirstUse(Val: &Value) -> UseRef;
-    pub fn LLVMGetNextUse(U: UseRef) -> UseRef;
-    pub fn LLVMGetUser(U: UseRef) -> &'a Value;
-
     // Operations on Users
     pub fn LLVMGetOperand(Val: &Value, Index: c_uint) -> &Value;