comparison gen/irstate.h @ 108:288fe1029e1f trunk

[svn r112] Fixed 'case 1,2,3:' style case statements. Fixed a bunch of bugs with return/break/continue in loops. Fixed support for the DMDFE hidden implicit return value variable. This can be needed for some foreach statements where the loop body is converted to a nested delegate, but also possibly returns from the function. Added std.math to phobos. Added AA runtime support code, done ground work for implementing AAs. Several other bugfixes.
author lindquist
date Tue, 20 Nov 2007 05:29:20 +0100
parents 855adfdb8d38
children 27b9f749d9fe
comparison
equal deleted inserted replaced
107:3efbcc81ba45 108:288fe1029e1f
156 IRExp* topexp(); 156 IRExp* topexp();
157 157
158 // basic block scopes 158 // basic block scopes
159 std::vector<IRScope> scopes; 159 std::vector<IRScope> scopes;
160 IRScope& scope(); 160 IRScope& scope();
161 llvm::BasicBlock* scopebegin(); 161 llvm::BasicBlock* scopebb();
162 llvm::BasicBlock* scopeend(); 162 llvm::BasicBlock* scopeend();
163 llvm::BasicBlock* scopebb();
164 bool scopereturned(); 163 bool scopereturned();
165 164
166 // loop blocks 165 // loop blocks
167 typedef std::vector<IRScope> BBVec; 166 typedef std::vector<IRScope> BBVec;
168 BBVec loopbbs; 167 BBVec loopbbs;