From 1548b863ce316c0b3be81d50d6388147df9aba72 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 21 Jan 2010 06:11:03 +0000 Subject: 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 --- include/llvm/CodeGen/MachineFunction.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/llvm/CodeGen/MachineFunction.h') 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::Alignment)); MFInfo = new (Loc) Ty(*this); } - - assert((void*)dynamic_cast(MFInfo) == (void*)MFInfo && - "Invalid concrete type or multiple inheritence for getInfo"); return static_cast(MFInfo); } -- cgit v1.2.3