aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/InstrTypes.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-07-07 18:42:52 +0000
committerChris Lattner <sabre@nondot.org>2001-07-07 18:42:52 +0000
commitf229ed52484d079f0f71db6300c6596852eced66 (patch)
tree46d9cf073b91754eb2aef91e7ca0518a481b0916 /include/llvm/InstrTypes.h
parentc8b25d40cbec063b1ca99cc1adf794399c6d05c0 (diff)
downloadexternal_llvm-f229ed52484d079f0f71db6300c6596852eced66.zip
external_llvm-f229ed52484d079f0f71db6300c6596852eced66.tar.gz
external_llvm-f229ed52484d079f0f71db6300c6596852eced66.tar.bz2
Remove dtor's that simply call dropAllReferences
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/InstrTypes.h')
-rw-r--r--include/llvm/InstrTypes.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/InstrTypes.h b/include/llvm/InstrTypes.h
index 8ec0da5..086cc35 100644
--- a/include/llvm/InstrTypes.h
+++ b/include/llvm/InstrTypes.h
@@ -62,7 +62,6 @@ public:
Operands.reserve(1);
Operands.push_back(Use(S, this));
}
- inline ~UnaryOperator() { dropAllReferences(); }
virtual Instruction *clone() const {
return create(getInstType(), Operands[0]);
@@ -95,7 +94,6 @@ public:
assert(Operands[0] && Operands[1] &&
Operands[0]->getType() == Operands[1]->getType());
}
- inline ~BinaryOperator() { dropAllReferences(); }
virtual Instruction *clone() const {
return create(getInstType(), Operands[0], Operands[1]);