aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/User.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/User.h')
-rw-r--r--include/llvm/User.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/llvm/User.h b/include/llvm/User.h
index aa29f6dae3..2175ad0ae0 100644
--- a/include/llvm/User.h
+++ b/include/llvm/User.h
@@ -20,7 +20,6 @@ protected:
std::vector<Use> Operands;
public:
User(const Type *Ty, ValueTy vty, const std::string &name = "");
- virtual ~User() { dropAllReferences(); }
inline Value *getOperand(unsigned i) {
assert(i < Operands.size() && "getOperand() out of range!");