From b4f572597e04aadb8481742825c846988d7e6781 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 23 Aug 2008 03:48:35 +0000 Subject: the bug was apparently fixed long ago, reenable the assertion git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55224 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Constants.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp index 6393703..c253e81 100644 --- a/lib/VMCore/Constants.cpp +++ b/lib/VMCore/Constants.cpp @@ -1097,8 +1097,7 @@ public: ConstantClass *Result = ConstantCreator::create(Ty, V); - /// FIXME: why does this assert fail when loading 176.gcc? - //assert(Result->getType() == Ty && "Type specified is not correct!"); + assert(Result->getType() == Ty && "Type specified is not correct!"); I = Map.insert(I, std::make_pair(MapKey(Ty, V), Result)); if (HasLargeKey) // Remember the reverse mapping if needed. -- cgit v1.1