comparison gen/irstate.h @ 1148:3d1b16dabd25

Eliminated the need for resolve, declare, const-init and define lists to drive code generation.
author Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
date Fri, 27 Mar 2009 21:50:32 +0100
parents 40caa8207b3e
children 6bd5ce91b136
comparison
equal deleted inserted replaced
1147:dbe4af57b240 1148:3d1b16dabd25
151 IRBuilderHelper ir; 151 IRBuilderHelper ir;
152 152
153 // debug info helper 153 // debug info helper
154 llvm::DIFactory difactory; 154 llvm::DIFactory difactory;
155 155
156 typedef std::list<Dsymbol*> DsymbolList;
157 // dsymbols that need to be resolved
158 DsymbolList resolveList;
159 // dsymbols that need to be declared
160 DsymbolList declareList;
161 // dsymbols that need constant initializers constructed
162 DsymbolList constInitList;
163 // dsymbols that need definitions
164 DsymbolList defineList;
165
166 // static ctors/dtors/unittests 156 // static ctors/dtors/unittests
167 typedef std::vector<FuncDeclaration*> FuncDeclVector; 157 typedef std::vector<FuncDeclaration*> FuncDeclVector;
168 FuncDeclVector ctors; 158 FuncDeclVector ctors;
169 FuncDeclVector dtors; 159 FuncDeclVector dtors;
170 FuncDeclVector unitTests; 160 FuncDeclVector unitTests;