X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=testprograms%2Fwhile_example.c;h=2b22da292894ff560e3df067fa51d4d0fd2b8292;hb=65bee87011120c5b4fad28224cdc65ae11af91f3;hp=b9040cb98649ef10d69890a6d5cf0cbafc23b9a8;hpb=dddcc630819f338c3b45e2bc646233e6872d5bb6;p=libfirm diff --git a/testprograms/while_example.c b/testprograms/while_example.c index b9040cb98..2b22da292 100644 --- a/testprograms/while_example.c +++ b/testprograms/while_example.c @@ -85,7 +85,7 @@ main(void) add_immBlock_pred (r, x); x = new_Cond (new_Proj(new_Cmp(new_Const (mode_Is, new_tarval_from_long (0, mode_Is)), get_value(1, mode_Is)), - mode_b, Eq)); + mode_b, pn_Cmp_Eq)); f = new_Proj (x, mode_X, 0); t = new_Proj (x, mode_X, 1); @@ -120,7 +120,7 @@ main(void) add_immBlock_pred (get_irg_end_block(irg), x); mature_immBlock (get_irg_end_block(irg)); - finalize_cons (irg); + irg_finalize_cons (irg); printf("Optimizing ...\n");