From 02466de99648773aaa7ef3fca9691c9014e86d45 Mon Sep 17 00:00:00 2001 From: Tomas Lindquist Olsen Date: Thu, 16 Apr 2009 20:30:30 +0200 Subject: [PATCH] Removed invalid assertion. --- gen/functions.cpp | 3 --- 1 file changed, 3 deletions(-) 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)