bugfixes
[libfirm] / ir / ir / irgraph_t.h
index a4e75ff..4b8a0b5 100644 (file)
@@ -25,6 +25,7 @@
 # include "pset.h"
 # include "irgraph.h"
 # include "firm_common_t.h"
+# include "irtypeinfo.h"
 
 #define FRAME_TP_SUFFIX "frame_tp"
 
@@ -48,7 +49,8 @@ struct ir_graph {
   struct ir_node *args;              /**< methods arguments */
   struct ir_node *bad;              /**< bad node of this ir_graph, the one and
                                         only in this graph */
-  struct ir_node *unknown;           /**< unknown node of this ir_graph */
+  /* GL removed: we need unknown with mode for analyses. */
+  //  struct ir_node *unknown;           /**< unknown node of this ir_graph */
   struct obstack *obst;                     /**< obstack where all of the ir_nodes live */
   struct ir_node *current_block;     /**< block for newly gen_*()-erated
                                        ir_nodes */
@@ -58,6 +60,8 @@ struct ir_graph {
   op_pinned pinned;                  /**< Flag for status of nodes */
   irg_outs_state outs_state;         /**< Out edges. */
   irg_dom_state dom_state;           /**< Dominator information */
+  irg_typeinfo_state typeinfo_state; /**< Validity of type information */
+  irg_callee_info_state callee_info_state; /**< Validity of callee information */
 
   /* -- Fields for construction -- */
 #if USE_EXPLICIT_PHI_IN_STACK