comparison dmd/Type.d @ 170:96c0fff6897d

more global state cleanup
author korDen
date Thu, 30 Sep 2010 14:09:50 +0400
parents b7b61140701d
children af724d3510d7
comparison
equal deleted inserted replaced
169:e7769d53e750 170:96c0fff6897d
2218 uint memalign(uint salign) 2218 uint memalign(uint salign)
2219 { 2219 {
2220 return salign; 2220 return salign;
2221 } 2221 }
2222 2222
2223 ///Expression defaultInit(Loc loc = Loc(0))
2224 Expression defaultInit(Loc loc) 2223 Expression defaultInit(Loc loc)
2225 { 2224 {
2226 assert(false); 2225 version (LOGDEFAULTINIT) {
2226 printf("Type.defaultInit() '%.*s'\n", toChars());
2227 }
2228 return null;
2227 } 2229 }
2228 2230
2229 /*************************************** 2231 /***************************************
2230 * Use when we prefer the default initializer to be a literal, 2232 * Use when we prefer the default initializer to be a literal,
2231 * rather than a global immutable variable. 2233 * rather than a global immutable variable.