remove a deprecated internal interface

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57434 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Gabor Greif 2008-10-13 10:25:27 +00:00
parent e9324f3605
commit c9f7ef7e7a
2 changed files with 0 additions and 9 deletions

View File

@ -66,10 +66,6 @@ inline T *transferTag(const T *From, const T *To) {
// Use is here to make keeping the "use" list of a Value up-to-date really easy.
//
class Use {
private:
/// init - specify Value and User
/// @deprecated in 2.4, will be removed soon
inline void init(Value *V, User *U);
public:
/// swap - provide a fast substitute to std::swap<Use>
/// that also works with less standard-compliant compilers

View File

@ -253,11 +253,6 @@ inline raw_ostream &operator<<(raw_ostream &OS, const Value &V) {
return OS;
}
void Use::init(Value *V, User *) {
Val = V;
if (V) V->addUse(*this);
}
void Use::set(Value *V) {
if (Val) removeFromList();
Val = V;