diff ir/irstruct.h @ 1270:dd135ff697fa

Fixed class default initializers and type generation. Bug #260 is fixed.
author Tomas Lindquist Olsen <tomas.l.olsen gmail com>
date Mon, 27 Apr 2009 03:40:40 +0200
parents 752bed475b75
children
line wrap: on
line diff
--- a/ir/irstruct.h	Mon Apr 27 01:43:29 2009 +0200
+++ b/ir/irstruct.h	Mon Apr 27 03:40:40 2009 +0200
@@ -68,6 +68,8 @@
     llvm::GlobalVariable* init;
     /// Static default initializer constant.
     LLConstant* constInit;
+    /// Static default initialier type holder.
+    llvm::PATypeHolder init_pa;
 
     /// Vtbl global.
     llvm::GlobalVariable* vtbl;