# ifndef _IRNODE_T_H_
# define _IRNODE_T_H_
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
# include "irnode.h"
-# include "xprintf.h"
# include "irop_t.h"
# include "firm_common_t.h"
# include "irdom_t.h" /* For size of struct dom_info. */
ir_node * call; /**< associated Call-operation */
} callbegin_attr;
+/** Cast attributes */
+typedef struct {
+ type *totype;
+} cast_attr;
+
/** Some irnodes just have one attribute, these are stored here,
some have more. Their name is 'irnodename_attr' */
typedef union {
alloc_attr a; /**< For Alloc. */
io_attr io; /**< For InstOf */
type *f; /**< For Free. */
+ cast_attr cast; /**< For Cast. */
int phi0_pos; /**< For Phi. Used to remember the value defined by
this Phi node. Needed when the Phi is completed
to call get_r_internal_value to find the
copy_attrs (ir_node *old, ir_node *new);
-/** Print IR-Nodes with attributes
- @todo brauchen wir dienoch? dann fliegt ev. das xprint raus? */
-int ir_node_print (XP_PAR1, const xprintf_info *, XP_PARN);
-
/** Returns the array with the ins. The content of the array may not be
changed. */
-ir_node **get_irn_in (ir_node *node);
+ir_node **get_irn_in (const ir_node *node);
/*@{*/
/** access attributes directly */