X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=testprograms%2Fif_while_example.c;h=433758c8364573282e18f003742c08f2888735fb;hb=3cd42bbc9883e96a01a7f01de691d70602eb9a36;hp=f7b3df802ccd99fe1f243cf45f86f30c5044840d;hpb=389d65fc4c021916d561f537569efb1cb156041d;p=libfirm diff --git a/testprograms/if_while_example.c b/testprograms/if_while_example.c index f7b3df802..433758c83 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); @@ -132,7 +132,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");