aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-09 00:25:05 +0000
committerChris Lattner <sabre@nondot.org>2002-10-09 00:25:05 +0000
commit61d295aa291ae66eec95f60a12bacddbefb2f6a2 (patch)
tree8f82710dfc485b751fc67aac57242e98134986bb /lib/VMCore
parent4e5e2edf6a786c094446eaae57ff4b9174baaf37 (diff)
downloadexternal_llvm-61d295aa291ae66eec95f60a12bacddbefb2f6a2.zip
external_llvm-61d295aa291ae66eec95f60a12bacddbefb2f6a2.tar.gz
external_llvm-61d295aa291ae66eec95f60a12bacddbefb2f6a2.tar.bz2
- Remove Value::use_remove
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/Value.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/VMCore/Value.cpp b/lib/VMCore/Value.cpp
index efb0cdf..7587535 100644
--- a/lib/VMCore/Value.cpp
+++ b/lib/VMCore/Value.cpp
@@ -91,13 +91,6 @@ void Value::killUse(User *U) {
Uses.erase(Uses.begin()+i);
}
-User *Value::use_remove(use_iterator &I) {
- assert(I != Uses.end() && "Trying to remove the end of the use list!!!");
- User *i = *I;
- I = Uses.erase(I);
- return i;
-}
-
//===----------------------------------------------------------------------===//
// User Class
//===----------------------------------------------------------------------===//