diff options
author | Gabor Greif <ggreif@gmail.com> | 2008-10-13 10:25:27 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2008-10-13 10:25:27 +0000 |
commit | c9f7ef7e7a95ff95a779a057297e0973d21aca02 (patch) | |
tree | c26c38e39036e58965a699c47779b7a534164061 | |
parent | e9324f360590793576d15d9e15c21a4c19ef8d1c (diff) |
remove a deprecated internal interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57434 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Use.h | 4 | ||||
-rw-r--r-- | include/llvm/Value.h | 5 |
2 files changed, 0 insertions, 9 deletions
diff --git a/include/llvm/Use.h b/include/llvm/Use.h index 891eaf8565..4cac526ee3 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<Use> /// that also works with less standard-compliant compilers diff --git a/include/llvm/Value.h b/include/llvm/Value.h index 95e175fae3..939cf10236 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; |