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 | da83472fa646c0df5f92b24d99532dc2a5fc428a (patch) | |
tree | fd3c1d90612a1774ac5779c88c8fdea9b84a5562 /llvm | |
parent | cf1d1b7fbc478da41e9547bbf17c14aa946a4190 (diff) | |
download | bcm5719-llvm-da83472fa646c0df5f92b24d99532dc2a5fc428a.tar.gz bcm5719-llvm-da83472fa646c0df5f92b24d99532dc2a5fc428a.zip |
remove a deprecated internal interface
llvm-svn: 57434
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/include/llvm/Use.h | 4 | ||||
-rw-r--r-- | llvm/include/llvm/Value.h | 5 |
2 files changed, 0 insertions, 9 deletions
diff --git a/llvm/include/llvm/Use.h b/llvm/include/llvm/Use.h index 891eaf85657..4cac526ee38 100644 --- a/llvm/include/llvm/Use.h +++ b/llvm/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/llvm/include/llvm/Value.h b/llvm/include/llvm/Value.h index 95e175fae39..939cf102361 100644 --- a/llvm/include/llvm/Value.h +++ b/llvm/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; |