Mercurial > projects > ldc
comparison gen/llvmhelpers.h @ 482:aa8c050dfd19
Move zero init of padding to DtoInitializer in order to respect void initializers.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 07 Aug 2008 18:15:27 +0200 |
parents | 672eb4893b55 |
children | a34078905d01 |
comparison
equal
deleted
inserted
replaced
481:18480579dc04 | 482:aa8c050dfd19 |
---|---|
79 DValue* DtoDeclarationExp(Dsymbol* declaration); | 79 DValue* DtoDeclarationExp(Dsymbol* declaration); |
80 | 80 |
81 // initializer helpers | 81 // initializer helpers |
82 LLConstant* DtoConstInitializer(Type* type, Initializer* init); | 82 LLConstant* DtoConstInitializer(Type* type, Initializer* init); |
83 LLConstant* DtoConstFieldInitializer(Type* type, Initializer* init); | 83 LLConstant* DtoConstFieldInitializer(Type* type, Initializer* init); |
84 DValue* DtoInitializer(Initializer* init); | 84 DValue* DtoInitializer(LLValue* target, Initializer* init); |
85 | 85 |
86 // annotation generator | 86 // annotation generator |
87 void DtoAnnotation(const char* str); | 87 void DtoAnnotation(const char* str); |
88 | 88 |
89 // getting typeinfo of type, base=true casts to object.TypeInfo | 89 // getting typeinfo of type, base=true casts to object.TypeInfo |