comparison gen/statements.cpp @ 797:340acf1535d0

Removed KDevelop3 project files, CMake can generate them just fine! Fixed function literals in static initializers. Changed alignment of delegates from 2*PTRSIZE to just PTRSIZE. Changed errors to go to stderr instead of stdout. Fairly major rewriting of struct/union/class handling, STILL A BIT BUGGY !!!
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sat, 29 Nov 2008 21:25:43 +0100
parents 4adf0f742896
children 7e59caf41433
comparison
equal deleted inserted replaced
796:6e7a4c3b64d2 797:340acf1535d0
895 895
896 if (global.params.symdebug) 896 if (global.params.symdebug)
897 DtoDwarfStopPoint(loc.linnum); 897 DtoDwarfStopPoint(loc.linnum);
898 898
899 // DMD doesn't fold stuff like continue/break, and since this isn't really a loop 899 // DMD doesn't fold stuff like continue/break, and since this isn't really a loop
900 // we have to keep track of each statement and jump to next the next/end on continue/break 900 // we have to keep track of each statement and jump to the next/end on continue/break
901 901
902 llvm::BasicBlock* oldend = gIR->scopeend(); 902 llvm::BasicBlock* oldend = gIR->scopeend();
903 903
904 // create a block for each statement 904 // create a block for each statement
905 size_t nstmt = statements->dim; 905 size_t nstmt = statements->dim;