mirror of
https://github.com/RPCSX/llvm.git
synced 2025-04-16 15:10:53 +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(const Type *Ty, unsigned iType, const std::string &Name = "",
|
||||||
Instruction *InsertBefore = 0);
|
Instruction *InsertBefore = 0);
|
||||||
public:
|
public:
|
||||||
virtual ~Instruction() {
|
|
||||||
assert(Parent == 0 && "Instruction still embedded in basic block!");
|
|
||||||
}
|
|
||||||
|
|
||||||
// Specialize setName to handle symbol table majik...
|
// Specialize setName to handle symbol table majik...
|
||||||
virtual void setName(const std::string &name, SymbolTable *ST = 0);
|
virtual void setName(const std::string &name, SymbolTable *ST = 0);
|
||||||
|
@ -20,7 +20,6 @@ protected:
|
|||||||
std::vector<Use> Operands;
|
std::vector<Use> Operands;
|
||||||
public:
|
public:
|
||||||
User(const Type *Ty, ValueTy vty, const std::string &name = "");
|
User(const Type *Ty, ValueTy vty, const std::string &name = "");
|
||||||
virtual ~User() { dropAllReferences(); }
|
|
||||||
|
|
||||||
inline Value *getOperand(unsigned i) {
|
inline Value *getOperand(unsigned i) {
|
||||||
assert(i < Operands.size() && "getOperand() out of range!");
|
assert(i < Operands.size() && "getOperand() out of range!");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user