X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana2%2Fpto_comp.c;h=92268c20a35e0ab5cf64eeac9a80535351d21925;hb=863d31d7a5c8210432fef88b30fc3e8353131538;hp=fbaaba7e929ec54d23a62b45c30fe129b0a7be65;hpb=f667113899d26608e395458858dd22ad780d8beb;p=libfirm diff --git a/ir/ana2/pto_comp.c b/ir/ana2/pto_comp.c index fbaaba7e9..92268c20a 100644 --- a/ir/ana2/pto_comp.c +++ b/ir/ana2/pto_comp.c @@ -187,7 +187,6 @@ static int set_graph_result (ir_graph *graph, ir_node *call) static pto_t *get_pto_proj (ir_node *proj, pto_env_t *env) { ir_node *proj_in = get_Proj_pred (proj); - const long proj_proj = get_Proj_proj (proj); const ir_opcode in_op = get_irn_opcode (proj_in); pto_t *in_pto = NULL; pto_t *proj_pto = NULL; /* get_node_pto (proj); */ @@ -234,7 +233,7 @@ static pto_t *get_pto_proj (ir_node *proj, pto_env_t *env) } case (iro_Load): /* ProjV (Load) */ - assert (pn_Load_res == proj_proj); + assert (pn_Load_res == get_Proj_proj(proj)); /* FALLTHROUGH */ case (iro_Call): /* ProjT (Call) */ /* FALLTHROUGH */ @@ -756,6 +755,9 @@ pto_t *get_alloc_pto (ir_node *alloc) /* $Log$ + Revision 1.21 2007/03/22 10:39:33 matze + a bunch of fixes to make firm work with NDEBUG and without DEBUG_libfirm + Revision 1.20 2007/01/16 15:45:42 beck renamed type opcode to ir_opcode