comparison ir/irstruct.h @ 137:ce7b81fb957f trunk

[svn r141] fixed more problems with classinfo moved more IR state out of the AST classes
author lindquist
date Fri, 18 Jan 2008 16:42:16 +0100
parents 0e28624814e8
children ffcc9a2f3d9d
comparison
equal deleted inserted replaced
136:0e28624814e8 137:ce7b81fb957f
16 llvm::GlobalVariable* vtbl; 16 llvm::GlobalVariable* vtbl;
17 17
18 const llvm::StructType* infoTy; 18 const llvm::StructType* infoTy;
19 llvm::ConstantStruct* infoInit; 19 llvm::ConstantStruct* infoInit;
20 llvm::Constant* info; 20 llvm::Constant* info;
21
22 int index;
21 23
22 IrInterface(BaseClass* b, const llvm::StructType* vt); 24 IrInterface(BaseClass* b, const llvm::StructType* vt);
23 ~IrInterface(); 25 ~IrInterface();
24 }; 26 };
25 27
58 const llvm::ArrayType* interfaceInfosTy; 60 const llvm::ArrayType* interfaceInfosTy;
59 llvm::GlobalVariable* interfaceInfos; 61 llvm::GlobalVariable* interfaceInfos;
60 62
61 bool defined; 63 bool defined;
62 bool constinited; 64 bool constinited;
65
66 llvm::GlobalVariable* vtbl;
67 llvm::ConstantStruct* constVtbl;
68 llvm::GlobalVariable* init;
69 llvm::Constant* constInit;
70 llvm::GlobalVariable* classInfo;
71 llvm::Constant* constClassInfo;
72 bool hasUnions;
73 DUnion* dunion;
74 bool classDeclared;
75 bool classDefined;
63 }; 76 };
64 77
65 #endif 78 #endif