projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf13a58
)
includes firm_types.h now
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 27 Dec 2005 17:13:55 +0000
(17:13 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 27 Dec 2005 17:13:55 +0000
(17:13 +0000)
[r7152]
ir/tr/type_or_entity.h
patch
|
blob
|
history
diff --git
a/ir/tr/type_or_entity.h
b/ir/tr/type_or_entity.h
index
3e9ac14
..
54de00b
100644
(file)
--- 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;