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:
parent
6f939cc824
commit
394f190dab
@ -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);
|
||||
|
@ -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!");
|
||||
|
Loading…
Reference in New Issue
Block a user