diff --git a/gen/functions.cpp b/gen/functions.cpp index dad2a96d..2110b122 100644 --- a/gen/functions.cpp +++ b/gen/functions.cpp @@ -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)