X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=testprograms%2Fmemory_example.c;h=12758257ee32626b635bb47d8413d959500dca64;hb=9cdfab88f2ef8df5ab154ad9e107f0a56a2eda00;hp=21e54bcfe8f66a35d2cb1f2132230b76ddf80f08;hpb=2004a1c1417c35a69f09b2f60010b028c6108240;p=libfirm diff --git a/testprograms/memory_example.c b/testprograms/memory_example.c index 21e54bcfe..12758257e 100644 --- a/testprograms/memory_example.c +++ b/testprograms/memory_example.c @@ -132,7 +132,7 @@ main(void) new_Cmp ( new_Const (mode_Iu, new_tarval_from_long (0, mode_Is)), x), - mode_b, Gt)); + mode_b, pn_Cmp_Gt)); /* build the cfg of the loop */ add_immBlock_pred (r, new_Proj (x, mode_X, 0)); @@ -155,7 +155,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"); dead_node_elimination(irg);