1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Remove unneeded dtors

llvm-svn: 8896
This commit is contained in:
Chris Lattner 2003-10-06 17:36:49 +00:00
parent 6f939cc824
commit 394f190dab
2 changed files with 0 additions and 4 deletions

View File

@ -30,9 +30,6 @@ protected:
Instruction(const Type *Ty, unsigned iType, const std::string &Name = "",
Instruction *InsertBefore = 0);
public:
virtual ~Instruction() {
assert(Parent == 0 && "Instruction still embedded in basic block!");
}
// Specialize setName to handle symbol table majik...
virtual void setName(const std::string &name, SymbolTable *ST = 0);

View File

@ -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!");