Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
501:ba7f06832d1c | 502:837af2a63564 |
---|---|
103 void findDefaultTarget(); | 103 void findDefaultTarget(); |
104 | 104 |
105 /// Converts any value to a boolean (llvm i1) | 105 /// Converts any value to a boolean (llvm i1) |
106 LLValue* DtoBoolean(Loc& loc, DValue* dval); | 106 LLValue* DtoBoolean(Loc& loc, DValue* dval); |
107 | 107 |
108 /// get the default initializer of the type | |
109 LLConstant* DtoDefaultInit(Type* t); | |
110 | |
108 //////////////////////////////////////////// | 111 //////////////////////////////////////////// |
109 // gen/tocall.cpp stuff below | 112 // gen/tocall.cpp stuff below |
110 //////////////////////////////////////////// | 113 //////////////////////////////////////////// |
111 | 114 |
112 /// convert DMD calling conv to LLVM | 115 /// convert DMD calling conv to LLVM |