[llvm-commits] CVS: llvm/lib/VMCore/Value.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 8 19:26:02 PDT 2002
Changes in directory llvm/lib/VMCore:
Value.cpp updated: 1.28 -> 1.29
---
Log message:
- Remove Value::use_remove
---
Diffs of the changes:
Index: llvm/lib/VMCore/Value.cpp
diff -u llvm/lib/VMCore/Value.cpp:1.28 llvm/lib/VMCore/Value.cpp:1.29
--- llvm/lib/VMCore/Value.cpp:1.28 Tue Oct 8 18:46:55 2002
+++ llvm/lib/VMCore/Value.cpp Tue Oct 8 19:25:05 2002
@@ -91,13 +91,6 @@
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
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list