# HG changeset patch # User Tomas Lindquist Olsen # Date 1239906630 -7200 # Node ID 79c6c8bc866c1b21d64100c00df4956628f671cd # Parent 212ec2d9d1769672129bb71937739666f93f1163 Removed invalid assertion. diff -r 212ec2d9d176 -r 79c6c8bc866c gen/functions.cpp --- a/gen/functions.cpp Thu Apr 16 19:21:30 2009 +0200 +++ b/gen/functions.cpp Thu Apr 16 20:30:30 2009 +0200 @@ -456,9 +456,6 @@ 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)