mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 08:33:14 +01:00
Fixed cases when debug info of a variable was emitted several times
This commit is contained in:
@@ -515,7 +515,7 @@ void DtoAssign(Loc& loc, DValue* lhs, DValue* rhs, int op)
|
||||
DVarValue *var = lhs->isVar();
|
||||
VarDeclaration *vd = var ? var->var : 0;
|
||||
if (vd)
|
||||
DtoDwarfValue(lhs->getRVal(), vd);
|
||||
DtoDwarfValue(DtoLoad(var->getLVal()), vd);
|
||||
}
|
||||
|
||||
/****************************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user