Mercurial > projects > ldc
diff gen/llvmhelpers.cpp @ 503:7148a3f2b44b
merge
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Wed, 13 Aug 2008 15:43:34 +0200 |
parents | 837af2a63564 a3d6c9eedcb6 |
children | 841589c97f20 |
line wrap: on
line diff
--- a/gen/llvmhelpers.cpp Wed Aug 13 15:43:13 2008 +0200 +++ b/gen/llvmhelpers.cpp Wed Aug 13 15:43:34 2008 +0200 @@ -406,11 +406,6 @@ } else { - if (irfunc->decl->isStatic()) - { - irfunc->decl->error("is static and cannot access nested %s %s", sym->kind(), sym->toChars()); - fatal(); - } return getNullPtr(getVoidPtrType()); } }