Mercurial > projects > ldc
diff gen/functions.cpp @ 1232:79c6c8bc866c
Removed invalid assertion.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Thu, 16 Apr 2009 20:30:30 +0200 |
parents | 79758fd2f48a |
children | 1e699a4e9759 |
line wrap: on
line diff
--- 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)