summaryrefslogtreecommitdiff
path: root/include/llvm/Instruction.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-06 17:36:49 +0000
committerChris Lattner <sabre@nondot.org>2003-10-06 17:36:49 +0000
commitb0a994b4c03ee1a27aef551b43f70c2ce2e003ad (patch)
tree5fcc5dee586dfcd2697e5e082b2b49a1be206e83 /include/llvm/Instruction.h
parent4e84e7720c333112da24bd4e9d4c7bfb4d446016 (diff)
downloadllvm-b0a994b4c03ee1a27aef551b43f70c2ce2e003ad.tar.gz
llvm-b0a994b4c03ee1a27aef551b43f70c2ce2e003ad.tar.bz2
llvm-b0a994b4c03ee1a27aef551b43f70c2ce2e003ad.tar.xz
Remove unneeded dtors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8896 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instruction.h')
-rw-r--r--include/llvm/Instruction.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h
index 9bd0bd2384..d21cd422e4 100644
--- a/include/llvm/Instruction.h
+++ b/include/llvm/Instruction.h
@@ -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);