Remove dtor's that simply call dropAllReferences

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2001-07-07 18:42:52 +00:00
parent c8b25d40cb
commit f229ed5248
4 changed files with 6 additions and 23 deletions

View File

@@ -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]);