diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-08-23 03:48:35 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-08-23 03:48:35 +0000 |
| commit | f97ab6df07776e1973135cb76176cee5bd3eca0c (patch) | |
| tree | 287332077df1a34f704320acab9b526f2ac84dc0 /llvm/lib | |
| parent | 97db84ce6d48389d61ef4f7e08683a85b99af403 (diff) | |
| download | bcm5719-llvm-f97ab6df07776e1973135cb76176cee5bd3eca0c.tar.gz bcm5719-llvm-f97ab6df07776e1973135cb76176cee5bd3eca0c.zip | |
the bug was apparently fixed long ago, reenable the assertion
llvm-svn: 55224
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/VMCore/Constants.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/Constants.cpp b/llvm/lib/VMCore/Constants.cpp index 63937038055..c253e815883 100644 --- a/llvm/lib/VMCore/Constants.cpp +++ b/llvm/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. |

