From b0d97b139a5a229497024809c1f735508bb2ba27 Mon Sep 17 00:00:00 2001 From: Alexey Prokhin Date: Sun, 20 Feb 2011 19:00:48 +0300 Subject: [PATCH] It is probably wrong, but it fixes compilation of phobos with -g flag --- gen/functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen/functions.cpp b/gen/functions.cpp index 8065dc0e..923f3b58 100644 --- a/gen/functions.cpp +++ b/gen/functions.cpp @@ -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 }