comparison ir/irclass.cpp @ 1278:8fb39f7f1a7c

Fixed file name in imported mixins containing assertions.
author Tomas Lindquist Olsen <tomas.l.olsen gmail com>
date Wed, 29 Apr 2009 18:39:59 +0200
parents dd135ff697fa
children 4099548c80e0
comparison
equal deleted inserted replaced
1277:6bd5ce91b136 1278:8fb39f7f1a7c
250 LLConstant * IrStruct::createClassDefaultInitializer() 250 LLConstant * IrStruct::createClassDefaultInitializer()
251 { 251 {
252 ClassDeclaration* cd = aggrdecl->isClassDeclaration(); 252 ClassDeclaration* cd = aggrdecl->isClassDeclaration();
253 assert(cd && "invalid class aggregate"); 253 assert(cd && "invalid class aggregate");
254 254
255 IF_LOG Logger::println("Building class default initializer %s @ %s", cd->toPrettyChars(), cd->locToChars()); 255 IF_LOG Logger::println("Building class default initializer %s @ %s", cd->toPrettyChars(), cd->loc.toChars());
256 LOG_SCOPE; 256 LOG_SCOPE;
257 IF_LOG Logger::println("Instance size: %u", cd->structsize); 257 IF_LOG Logger::println("Instance size: %u", cd->structsize);
258 258
259 // find the fields that contribute to the default initializer. 259 // find the fields that contribute to the default initializer.
260 // these will define the default type. 260 // these will define the default type.