remove a deprecated internal interface
authorGabor Greif <ggreif@gmail.com>
Mon, 13 Oct 2008 10:25:27 +0000 (10:25 +0000)
committerGabor Greif <ggreif@gmail.com>
Mon, 13 Oct 2008 10:25:27 +0000 (10:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57434 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Use.h
include/llvm/Value.h

index 891eaf856579bfef901d6e091f4840adbd2e3184..4cac526ee387066ddf756ff380b5901e06a806d6 100644 (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
index 95e175fae3951900e24707fce34ba4490294dc63..939cf102361f2104d7d2b52ac404166a4d9611a8 100644 (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;