diff 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
line wrap: on
line diff
--- a/gen/llvmhelpers.h	Tue Aug 05 20:23:44 2008 +0200
+++ b/gen/llvmhelpers.h	Thu Aug 07 18:15:27 2008 +0200
@@ -81,7 +81,7 @@
 // initializer helpers
 LLConstant* DtoConstInitializer(Type* type, Initializer* init);
 LLConstant* DtoConstFieldInitializer(Type* type, Initializer* init);
-DValue* DtoInitializer(Initializer* init);
+DValue* DtoInitializer(LLValue* target, Initializer* init);
 
 // annotation generator
 void DtoAnnotation(const char* str);