X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=testprograms%2Fglobal_cse.c;h=a9bed6d05924afd66c55d9ea9fd2793623951c9a;hb=65bee87011120c5b4fad28224cdc65ae11af91f3;hp=1c1c11e9dfe306d9e59761af89f0579810fc8c3c;hpb=dddcc630819f338c3b45e2bc646233e6872d5bb6;p=libfirm diff --git a/testprograms/global_cse.c b/testprograms/global_cse.c index 1c1c11e9d..a9bed6d05 100644 --- a/testprograms/global_cse.c +++ b/testprograms/global_cse.c @@ -100,7 +100,7 @@ main(void) cmp = new_Cmp(get_value(a_pos, mode_Is), get_value(b_pos, mode_Is)); /* cmp = new_Cmp(new_Const (mode_Is, new_tarval_from_long (2, mode_Is)), new_Const (mode_Is, new_tarval_from_long (2, mode_Is)));*/ - x = new_Cond (new_Proj(cmp, mode_b, Eq)); + x = new_Cond (new_Proj(cmp, mode_b, pn_Cmp_Eq)); f = new_Proj (x, mode_X, 0); t = new_Proj (x, mode_X, 1); @@ -147,11 +147,11 @@ main(void) /* verify the graph */ irg_vrfy(irg); - finalize_cons (irg); + irg_finalize_cons (irg); printf("Optimizing ...\n"); local_optimize_graph(irg); - dead_node_elimination(irg); + /* output the vcg file */ printf("Done building the graph. Dumping it.\n");