diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-21 06:11:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-21 06:11:03 +0000 |
commit | 1548b863ce316c0b3be81d50d6388147df9aba72 (patch) | |
tree | 212275335d983834df93750008aa2f4a0278e378 /include/llvm/CodeGen/MachineFunction.h | |
parent | fca37064789620d80580bc19281ef30141e25dc1 (diff) | |
download | external_llvm-1548b863ce316c0b3be81d50d6388147df9aba72.tar.gz external_llvm-1548b863ce316c0b3be81d50d6388147df9aba72.tar.bz2 external_llvm-1548b863ce316c0b3be81d50d6388147df9aba72.zip |
remove a couple of asserts that use RTTI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94068 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineFunction.h')
-rw-r--r-- | include/llvm/CodeGen/MachineFunction.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h index 32d2857f87..6ca51bfdf3 100644 --- a/include/llvm/CodeGen/MachineFunction.h +++ b/include/llvm/CodeGen/MachineFunction.h @@ -175,9 +175,6 @@ public: AlignOf<Ty>::Alignment)); MFInfo = new (Loc) Ty(*this); } - - assert((void*)dynamic_cast<Ty*>(MFInfo) == (void*)MFInfo && - "Invalid concrete type or multiple inheritence for getInfo"); return static_cast<Ty*>(MFInfo); } |