aet_entity_ident() added
[libfirm] / testprograms / recursions.c
index bda4cda..e400466 100644 (file)
@@ -52,7 +52,7 @@ void close_method(int n_ins, ir_node **ins) {
   mature_immBlock (get_cur_block());
   add_immBlock_pred  (get_cur_end_block(), x);
   mature_immBlock (get_cur_end_block());
-  finalize_cons(current_ir_graph);
+  irg_finalize_cons(current_ir_graph);
 }
 
 
@@ -172,7 +172,7 @@ main(void)
 
   entity **free_methods;
   int arr_len;
-  cgana(&arr_len, &free_methods, 0);
+  cgana(&arr_len, &free_methods);
   compute_callgraph();
   find_callgraph_recursions();
   //dump_callgraph("");  /* Order of edges depends on set.c, which is not deterministic. */