X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firdump.c;h=c1c6db3066794991bcd6b408cbb8444c836130f3;hb=8f355cb9b3d20c10f71d1b1e17cbf59a51ced83b;hp=de401e300adc52b400c39e6e04a650c8813126bb;hpb=87da69a27791a9e0846e90da409d6e70e32814d3;p=libfirm diff --git a/ir/ir/irdump.c b/ir/ir/irdump.c index de401e300..c1c6db306 100644 --- a/ir/ir/irdump.c +++ b/ir/ir/irdump.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -802,7 +802,7 @@ int dump_node_opcode(FILE *F, ir_node *n) ir_entity *ent = NULL; if (get_irn_op(addr) == op_Sel) ent = get_Sel_entity(addr); - else if ((get_irn_op(addr) == op_SymConst) && (get_SymConst_kind(addr) == symconst_addr_ent)) + else if (is_SymConst_addr_ent(addr)) ent = get_SymConst_entity(addr); fprintf(F, "%s", get_irn_opname(n)); if (ent) fprintf(F, " %s", get_entity_name(ent));