Removed invalid assertion.

This commit is contained in:
Tomas Lindquist Olsen 2009-04-16 20:30:30 +02:00
parent 9a86f9c0b5
commit 02466de996

View file

@ -456,9 +456,6 @@ void DtoDeclareFunction(FuncDeclaration* fdecl)
Type* t = fdecl->type->toBasetype();
TypeFunction* f = (TypeFunction*)t;
// sanity check
assert(fdecl == f->funcdecl && "the function type does not point to this function");
bool declareOnly = !mustDefineSymbol(fdecl);
if (fdecl->llvmInternal == LLVMva_start)