Mercurial > projects > ldc
changeset 1232:79c6c8bc866c
Removed invalid assertion.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Thu, 16 Apr 2009 20:30:30 +0200 |
parents | 212ec2d9d176 |
children | 1e699a4e9759 |
files | gen/functions.cpp |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
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)