From: Christian Würdig Date: Fri, 9 Feb 2007 17:49:45 +0000 (+0000) Subject: added cast for get_phi_class X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=97d06d4850fb6e13878508a1abe59065bce7282a;p=libfirm added cast for get_phi_class --- diff --git a/ir/be/bespillremat.c b/ir/be/bespillremat.c index b4bfb7790..744d2b15d 100644 --- a/ir/be/bespillremat.c +++ b/ir/be/bespillremat.c @@ -4119,9 +4119,9 @@ dump_phi_class(spill_ilp_t *si, ir_node **phiclass, const char * file) } set_foreach(si->interferences, interference) { - const ir_node *a = interference->a; - const ir_node *b = interference->b; - if (get_phi_class(si->pc, a) == phiclass) { + const ir_node *a = interference->a; + const ir_node *b = interference->b; + if (get_phi_class(si->pc, (ir_node *)a) == phiclass) { ir_fprintf(f, " %F%N -> %F%N [color=red,dir=none,style=bold]\n", a, a, b, b); } }