diff options
Diffstat (limited to 'include/llvm/Instruction.h')
-rw-r--r-- | include/llvm/Instruction.h | 3 |
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); |