X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=testprograms%2Fif_while_example.c;h=6e29332d9e53756e5593b0ce63b97a47464781d1;hb=7036c4612bf734d583253d2c794408f9cce2518b;hp=50758d25c50c068f2e05798a610655ad7396d7a6;hpb=dddcc630819f338c3b45e2bc646233e6872d5bb6;p=libfirm diff --git a/testprograms/if_while_example.c b/testprograms/if_while_example.c index 50758d25c..6e29332d9 100644 --- a/testprograms/if_while_example.c +++ b/testprograms/if_while_example.c @@ -97,7 +97,7 @@ main(void) add_immBlock_pred (r, x); x = new_Cond (new_Proj(new_Cmp(new_Const (mode_Iu, new_tarval_from_long (0, mode_Is)), new_Const (mode_Iu, new_tarval_from_long (0, mode_Is))), - mode_b, Eq)); + mode_b, pn_Cmp_Eq)); f = new_Proj (x, mode_X, 0); t = new_Proj (x, mode_X, 1); @@ -146,7 +146,7 @@ main(void) /* output the vcg file */ printf("Done building the graph. Dumping it with out-edges.\n"); - dump_out_edges(); + dump_out_edges(1); dump_ir_graph (irg, 0); printf("Use xvcg to view this graph:\n"); printf("/ben/goetz/bin/xvcg GRAPHNAME\n\n");