It is probably wrong, but it fixes compilation of phobos with -g flag

This commit is contained in:
Alexey Prokhin
2011-02-20 19:00:48 +03:00
parent 6d89bfa961
commit b0d97b139a

View File

@@ -782,7 +782,7 @@ void DtoDefineFunction(FuncDeclaration* fd)
}
#ifndef DISABLE_DEBUG_INFO
if (global.params.symdebug && !(isaArgument(irloc->value) && !isaArgument(irloc->value)->hasByValAttr()) && !refout)
if (global.params.symdebug && !(isaArgument(irloc->value) && isaArgument(irloc->value)->hasByValAttr()) && !refout)
DtoDwarfLocalVariable(irloc->value, vd);
#endif
}