X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftype_or_entity.h;h=54de00b8786eaabd10c78958ecad1d3ad2d2e7f9;hb=f64411a2a8a4e28e70a281ac67736a1bdf996b72;hp=3e9ac148f6d0fd97bfbc5b6c68db1bc440f4498f;hpb=25a9079a440dca3115aedcc4c22438e187ed9d7d;p=libfirm diff --git a/ir/tr/type_or_entity.h b/ir/tr/type_or_entity.h index 3e9ac148f..54de00b87 100644 --- a/ir/tr/type_or_entity.h +++ b/ir/tr/type_or_entity.h @@ -21,10 +21,12 @@ # 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;