diff gen/llvmhelpers.h @ 502:837af2a63564

Fixed problems constant multidimensional static array initializers.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Wed, 13 Aug 2008 15:43:13 +0200
parents f8c979770af3
children ca2dfe98036c
line wrap: on
line diff
--- a/gen/llvmhelpers.h	Tue Aug 12 00:56:09 2008 +0200
+++ b/gen/llvmhelpers.h	Wed Aug 13 15:43:13 2008 +0200
@@ -105,6 +105,9 @@
 /// Converts any value to a boolean (llvm i1)
 LLValue* DtoBoolean(Loc& loc, DValue* dval);
 
+/// get the default initializer of the type
+LLConstant* DtoDefaultInit(Type* t);
+
 ////////////////////////////////////////////
 // gen/tocall.cpp stuff below
 ////////////////////////////////////////////