changed ir_vrfy and vrfy_graph to irn_vrfy and irg_vrfy!
[libfirm] / testprograms / array-heap_example.c
index 203e455..9750b78 100644 (file)
@@ -141,13 +141,16 @@ main(void)
   add_in_edge (main_irg->end_block, x);
   mature_block (main_irg->end_block);
 
+  /* verify the graph */
+  irg_vrfy(main_irg);
+
   printf("\nDone building the graph.\n");
   printf("Dumping the graph and a type graph.\n");
   dump_ir_block_graph (main_irg);
   dump_type_graph(main_irg);
 
   printf("\nuse xvcg to view these graphs:\n");
-  printf("/ben/trapp/bin/i486/xvcg GRAPHNAME\n");
+  printf("/ben/goetz/bin/xvcg GRAPHNAME\n");
 
   return (1);
 }