used new verify_node operation
[libfirm] / ir / ir / irgraph.c
index 9cf412f..f372e50 100644 (file)
@@ -127,9 +127,7 @@ new_r_ir_graph (entity *ent, int n_loc)
   res = alloc_graph();
   res->kind = k_ir_graph;
 
-#ifdef FIRM_EDGES_INPLACE
-       edges_init_graph(res);
-#endif
+  edges_init_graph(res);
 
   /* inform statistics here, as blocks will be already build on this graph */
   hook_new_graph(res, ent);
@@ -173,7 +171,8 @@ new_r_ir_graph (entity *ent, int n_loc)
   res->op_pin_state_pinned = op_pin_state_pinned;
   res->outs_state     = outs_none;
   res->dom_state      = dom_none;
-  res->typeinfo_state = irg_typeinfo_none;
+  res->typeinfo_state = ir_typeinfo_none;
+  set_irp_typeinfo_inconsistent();           /* there is a new graph with typeinfo_none. */
   res->loopinfo_state = loopinfo_none;
 
   /*-- Type information for the procedure of the graph --*/