summaryrefslogtreecommitdiff
path: root/lib/VMCore
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-08-23 03:48:35 +0000
committerChris Lattner <sabre@nondot.org>2008-08-23 03:48:35 +0000
commitb4f572597e04aadb8481742825c846988d7e6781 (patch)
tree869208e46e5be0618d81895f8a3663874954723a /lib/VMCore
parent6ecf50908c78aae0feff1c378fbb75dcf013ed21 (diff)
downloadllvm-b4f572597e04aadb8481742825c846988d7e6781.tar.gz
llvm-b4f572597e04aadb8481742825c846988d7e6781.tar.bz2
llvm-b4f572597e04aadb8481742825c846988d7e6781.tar.xz
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
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/Constants.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp
index 6393703805..c253e81588 100644
--- a/lib/VMCore/Constants.cpp
+++ b/lib/VMCore/Constants.cpp
@@ -1097,8 +1097,7 @@ public:
ConstantClass *Result =
ConstantCreator<ConstantClass,TypeClass,ValType>::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.