From c9f7ef7e7a95ff95a779a057297e0973d21aca02 Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Mon, 13 Oct 2008 10:25:27 +0000 Subject: [PATCH] remove a deprecated internal interface git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57434 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Use.h | 4 ---- include/llvm/Value.h | 5 ----- 2 files changed, 9 deletions(-) diff --git a/include/llvm/Use.h b/include/llvm/Use.h index 891eaf85657..4cac526ee38 100644 --- a/include/llvm/Use.h +++ b/include/llvm/Use.h @@ -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 /// that also works with less standard-compliant compilers diff --git a/include/llvm/Value.h b/include/llvm/Value.h index 95e175fae39..939cf102361 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -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;