#ifndef FIRM_TR_ENTITY_T_H
#define FIRM_TR_ENTITY_T_H
+#include <assert.h>
+
#include "firm_common_t.h"
#include "firm_config.h"
+#include "typerep.h"
#include "type_t.h"
-#include "entity.h"
-#include "typegmod.h"
-#include "mangle.h"
+#include "ident.h"
#include "pseudo_irg.h"
/** A path in a compound graph. */
static INLINE void
_set_entity_address_taken(ir_entity *ent, ir_address_taken_state state) {
assert(ent && ent->kind == k_entity);
- assert(ir_address_not_taken <= state && state <= ir_address_taken);
+ assert(state == ir_address_not_taken ||
+ state == ir_address_taken_unknown ||
+ state == ir_address_taken);
ent->address_taken = state;
}