diff gen/tollvm.h @ 88:058d3925950e trunk

[svn r92] Fixed support for statically initialized unions. lots of bugfixes as cleanups too.
author lindquist
date Tue, 06 Nov 2007 10:03:14 +0100
parents fd32135dca3e
children ccca1c13e13a
line wrap: on
line diff
--- a/gen/tollvm.h	Sat Nov 03 14:48:33 2007 +0100
+++ b/gen/tollvm.h	Tue Nov 06 10:03:14 2007 +0100
@@ -3,18 +3,12 @@
 
 // D -> LLVM helpers
 
-struct StructInitializer;
 struct DValue;
 
 const llvm::Type* DtoType(Type* t);
 bool DtoIsPassedByRef(Type* type);
 Type* DtoDType(Type* t);
 
-const llvm::Type* DtoStructType(Type* t);
-llvm::Value* DtoStructZeroInit(llvm::Value* v);
-llvm::Value* DtoStructCopy(llvm::Value* dst, llvm::Value* src);
-llvm::Constant* DtoConstStructInitializer(StructInitializer* si);
-
 const llvm::FunctionType* DtoFunctionType(Type* t, const llvm::Type* thistype, bool ismain = false);
 const llvm::FunctionType* DtoFunctionType(FuncDeclaration* fdecl);
 llvm::Function* DtoDeclareFunction(FuncDeclaration* fdecl);
@@ -66,9 +60,9 @@
 llvm::Constant* DtoConstStringPtr(const char* str, const char* section = 0);
 llvm::Constant* DtoConstBool(bool);
 
-llvm::Value* DtoIndexStruct(llvm::Value* ptr, StructDeclaration* sd, Type* t, unsigned os, std::vector<unsigned>& idxs);
+bool DtoIsTemplateInstance(Dsymbol* s);
 
-bool DtoIsTemplateInstance(Dsymbol* s);
+void DtoLazyStaticInit(bool istempl, llvm::Value* gvar, Initializer* init, Type* t);
 
 // llvm wrappers
 void DtoMemCpy(llvm::Value* dst, llvm::Value* src, llvm::Value* nbytes);