diff gen/structs.h @ 870:af7a6faf9406

Fix #153. Factor out common code in StructLiteralExp::to(Const)Elem.
author Christian Kamm <kamm incasoftware de>
date Tue, 30 Dec 2008 11:42:01 +0100
parents 340acf1535d0
children 3cf0066e6faf
line wrap: on
line diff
--- a/gen/structs.h	Sat Dec 27 16:07:23 2008 +0100
+++ b/gen/structs.h	Tue Dec 30 11:42:01 2008 +0100
@@ -4,6 +4,7 @@
 struct StructInitializer;
 
 LLConstant* DtoConstStructInitializer(StructInitializer* si);
+std::vector<llvm::Value*> DtoStructLiteralValues(const StructDeclaration* sd, const std::vector<llvm::Value*>& inits);
 
 /**
  * Resolves the llvm type for a struct