From: Götz Lindenmaier Date: Tue, 20 Jan 2004 16:20:02 +0000 (+0000) Subject: bugfix X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=7ac0e3094058625ec878de71d9f9379eea8d0fd5;p=libfirm bugfix [r2328] --- diff --git a/ir/tv/tv.c b/ir/tv/tv.c index cd4e460e0..9f4b02dff 100644 --- a/ir/tv/tv.c +++ b/ir/tv/tv.c @@ -1360,7 +1360,7 @@ int tarval_snprintf(char *buf, size_t len, tarval *tv) if (tv==tarval_P_void) return snprintf(buf, len, "NULL"); if (tv->value != NULL) if (tarval_is_entity(tv)) { - if (get_entity_peculiarity((entity *)tv->value) == peculiarity_existent) + if (get_entity_peculiarity((entity *)tv->value) != peculiarity_description) return snprintf(buf, len, "%s%s%s", prefix, get_entity_ld_name((entity *)tv->value), suffix); else { if (mode_info->mode_output == TVO_NATIVE)