aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Use.h4
-rw-r--r--include/llvm/Value.h5
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;