added %= for printing a pn_Cmp value
[libfirm] / testprograms / memory_example.c
index 21e54bc..1275825 100644 (file)
@@ -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);