projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ecf509
)
the bug was apparently fixed long ago, reenable the assertion
author
Chris Lattner
<sabre@nondot.org>
Sat, 23 Aug 2008 03:48:35 +0000
(
03:48
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 23 Aug 2008 03:48:35 +0000
(
03:48
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55224
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Constants.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Constants.cpp
b/lib/VMCore/Constants.cpp
index 639370380554903f2829ca2675431971b2b8dd3e..c253e81588302761b8ae1364677e8127e91e89fa 100644
(file)
--- 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.