# include "iropt_dbg.h"
# include "irflag_t.h"
# include "array.h"
-# include "firmstat.h"
+# include "irhooks.h"
#undef IMAX
#define IMAX(a,b) ((a) > (b) ? (a) : (b))
entity *ent = get_Sel_entity(ptr);
type *tp = get_entity_owner(ent);
- if (is_array_type(tp)) {
+ if (is_Array_type(tp)) {
/* check bounds */
int i, n;