summaryrefslogtreecommitdiff
path: root/support/lib/Support/ValueHolder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'support/lib/Support/ValueHolder.cpp')
-rw-r--r--support/lib/Support/ValueHolder.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/support/lib/Support/ValueHolder.cpp b/support/lib/Support/ValueHolder.cpp
deleted file mode 100644
index e0806b538a..0000000000
--- a/support/lib/Support/ValueHolder.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-//===-- ValueHolder.cpp - Wrapper for Value implementation ----------------===//
-//
-// This class defines a simple subclass of User, which keeps a pointer to a
-// Value, which automatically updates when Value::replaceAllUsesWith is called.
-// This is useful when you have pointers to Value's in your pass, but the
-// pointers get invalidated when some other portion of the algorithm is
-// replacing Values with other Values.
-//
-//===----------------------------------------------------------------------===//
-
-#include "llvm/Support/ValueHolder.h"
-#include "llvm/Type.h"
-
-ValueHolder::ValueHolder(Value *V) : User(Type::TypeTy, Value::TypeVal) {
- Operands.push_back(Use(V, this));
-}