comparison ir/irstruct.cpp @ 802:28ce72c60a21

Fixed some problems with the addZeros forward declarations having type mismatches.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sat, 29 Nov 2008 20:57:52 +0100
parents d14e4594c7d7
children c62c6936635b
comparison
equal deleted inserted replaced
801:c8d9b30a0dc2 802:28ce72c60a21
117 } 117 }
118 } 118 }
119 } 119 }
120 120
121 ////////////////////////////////////////// 121 //////////////////////////////////////////
122
123 void addZeros(std::vector<const llvm::Type*>& inits, size_t pos, size_t offset);
124 122
125 void IrStruct::addVar(VarDeclaration * var) 123 void IrStruct::addVar(VarDeclaration * var)
126 { 124 {
127 TypeVector* tvec = &types; 125 TypeVector* tvec = &types;
128 if (anon) 126 if (anon)