# ifndef _TYPE_OR_ENTITY_H_
# define _TYPE_OR_ENTITY_H_
-/** A datatype to treat types and entities as the same. */
+#include "firm_types.h"
+
+/** A data type to treat types and entities as the same. */
typedef union {
- struct type *typ; /**< points to a type */
- struct entity *ent; /**< points to an entity */
+ ir_type *typ; /**< points to a type */
+ entity *ent; /**< points to an entity */
} type_or_ent;