Added routine remove_irp_irg.
[libfirm] / testprograms / empty.c
index f00430d..b5b0d1f 100644 (file)
 
 int main(int argc, char **argv)
 {
-  ir_graph *irg;          /* this variable contains the irgraph */
-  type_class *owner;      /* the class in which this method is defined */
-  type_method *proc_main; /* type information for the method main */
-  entity *ent;            /* represents this method as entity of owner */
-  ir_node *x;
+  ir_graph *irg;        /* this variable contains the irgraph */
+  type     *owner;      /* the class in which this method is defined */
+  type     *proc_main;  /* type information for the method main */
+  entity   *ent;        /* represents this method as entity of owner */
+  ir_node  *x;
 
   printf("\nCreating an IR graph: EMPTY...\n");
 
@@ -92,6 +92,8 @@ int main(int argc, char **argv)
   printf("Done building the graph.  Dumping it.\n");
   dump_ir_block_graph (irg);
 
+  dump_all_types();
+
   printf("use xvcg to view this graph:\n");
   printf("/ben/goetz/bin/xvcg GRAPHNAME\n\n");