diff gen/structs.h @ 102:027b8d8b71ec trunk

[svn r106] Turns out the last commit wasn't enough, now the D->LLVM process is even more split up. Basically it tries to do the following in order: Resolve types, Declare symbols, Create constant initializers, Apply initializers, Generate functions bodies. ClassInfo is now has the most useful(biased?) members working. Probably other stuf...
author lindquist
date Sun, 18 Nov 2007 06:52:57 +0100
parents 5071469303d4
children 7816aafeea3c
line wrap: on
line diff
--- a/gen/structs.h	Fri Nov 16 10:01:24 2007 +0100
+++ b/gen/structs.h	Sun Nov 18 06:52:57 2007 +0100
@@ -11,6 +11,11 @@
 llvm::Constant* DtoConstStructInitializer(StructInitializer* si);
 
 /**
+ * Resolves the llvm type for a struct
+ */
+void DtoResolveStruct(StructDeclaration* sd);
+
+/**
  * Provides the llvm declaration for a struct
  */
 void DtoDeclareStruct(StructDeclaration* sd);