-# include "pset.h"
-
-/* ir_graph holds all information for a procedure */
-typedef struct {
- struct entity *ent; /* The entity of this procedure, i.e., the
- type of the procedure and the class it
- belongs to. */
- struct ir_node *start_block; /* block the start node will belong to */
- struct ir_node *start; /* start node of this ir_graph */
- struct ir_node *end_block; /* block the end node will belong to */
- struct ir_node *end; /* end node of this ir_graph */
- struct ir_node *cstore; /* constant store */
- struct ir_node *frame; /* method's frame */
-#if UEBPRAKT
- struct ir_node *dataseg; /* pointer to the data segment */
+
+/* to resolve recursion between irnode.h and irgraph.h */
+#ifndef _IR_NODE_TYPEDEF_
+#define _IR_NODE_TYPEDEF_
+typedef struct ir_node ir_node;