projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e5e2ed
)
- Remove Value::use_remove
author
Chris Lattner
<sabre@nondot.org>
Wed, 9 Oct 2002 00:25:05 +0000
(
00:25
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 9 Oct 2002 00:25:05 +0000
(
00:25
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4090
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Value.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Value.cpp
b/lib/VMCore/Value.cpp
index efb0cdf8e17ac2142085e06a140e51f9b135f666..758753559e09b0c33703d8bb09da322be42ef502 100644
(file)
--- 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
//===----------------------------------------------------------------------===//