X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firgopt.c;h=f8ceab8d4d05df0d8e8ca773dd53c9c489c485c0;hb=cb91bddc9cacdab7c28e4336847bd3dc248aa549;hp=32245e53fc31494c971041b69877a72faa9cac2b;hpb=560a451f165ea1a290c5512a262961cad439f25d;p=libfirm diff --git a/ir/ir/irgopt.c b/ir/ir/irgopt.c index 32245e53f..f8ceab8d4 100644 --- a/ir/ir/irgopt.c +++ b/ir/ir/irgopt.c @@ -55,9 +55,9 @@ static void init_link (ir_node *n, void *env) { } #if 0 /* Old version. Avoids Ids. - This is not necessary: we do a postwalk, and get_irn_n - removes ids anyways. So it's much cheaper to call the - optimization less often and use the exchange() algorithm. */ + This is not necessary: we do a postwalk, and get_irn_n + removes ids anyways. So it's much cheaper to call the + optimization less often and use the exchange() algorithm. */ static void optimize_in_place_wrapper (ir_node *n, void *env) { int i, irn_arity; @@ -249,10 +249,12 @@ copy_node (ir_node *n, void *env) { new_backedge_info(nn); set_new_node(n, nn); +#if DEBUG_libfirm if (copy_node_nr) { /* for easier debugging, we want to copy the node numbers too */ nn->node_nr = n->node_nr; } +#endif /* printf("\n old node: "); DDMSG2(n); printf(" new node: "); DDMSG2(nn); */