comparison gen/toobj.cpp @ 247:56199753e637 trunk

[svn r264] Fixed debug info for global variables.
author lindquist
date Mon, 09 Jun 2008 17:49:30 +0200
parents a95056b3c996
children 890b4862ec6c
comparison
equal deleted inserted replaced
246:b604c56945b0 247:56199753e637
572 572
573 if (static_local) 573 if (static_local)
574 DtoConstInitGlobal(this); 574 DtoConstInitGlobal(this);
575 else 575 else
576 gIR->constInitList.push_back(this); 576 gIR->constInitList.push_back(this);
577
578 if (global.params.symdebug)
579 DtoDwarfGlobalVariable(gvar, this);
577 } 580 }
578 581
579 // inside aggregate declaration. declare a field. 582 // inside aggregate declaration. declare a field.
580 else 583 else
581 { 584 {