/* ------------- fields for analyses ---------------*/
- ir_node **accesses; /**< accessing nodes: loads, stores. */
#ifdef DEBUG_libfirm
int nr; /**< a unique node number for each node to make output
# endif /* DEBUG_libfirm */
};
+
+
/* ----------------------- inline functions ------------------------ */
static INLINE int
__is_entity(const void *thing) {
assert(ent && ent->kind == k_entity);
/* @@@ why peculiarity only for methods? */
assert(is_method_type(ent->type));
+
ent->peculiarity = pec;
}
static INLINE ir_graph *
__get_entity_irg(const entity *ent) {
assert(ent && ent->kind == k_entity);
- assert(is_method_type(ent->type));
+ assert(ent == unknown_entity || is_method_type(ent->type));
return ent->irg;
}