mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
Remove unneeded dtors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8896 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4e84e7720c
commit
b0a994b4c0
@ -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