include $(topdir)/MakeRules
CPPFLAGS += -I$(top_srcdir)/ir/common -I$(top_srcdir)/ir/tr -I$(top_srcdir)/ir/adt \
- -I$(top_srcdir)/ir/ident -I$(top_srcdir)/ir/ir -I$(top_srcdir)/ir/debug
+ -I$(top_srcdir)/ir/ident -I$(top_srcdir)/ir/ir -I$(top_srcdir)/ir/debug \
+ -I$(top_srcdir)/ir/st -I$(top_srcdir)/ir/ana
include $(top_srcdir)/MakeTargets
#include "entity_t.h"
#include "ident_t.h"
#include "irmode.h"
+#include "irnode.h"
static struct obstack tv_obst; /* obstack for all the target values */
static pset *tarvals; /* pset containing pointers to _all_ tarvals */
case irm_U:
break;
case irm_P:
- if (val->u.P.ent)
+ if (val->u.P.ent) {
assert (val->u.P.ent->kind == k_entity);
+ }
assert ( val->u.P.xname || val->u.P.ent
|| !tarval_P_void || (val == tarval_P_void));
break;
assert ((unsigned)val->u.b <= 1); break;
default:
assert (val->mode == mode_T);
+ break;
}
}
#endif
tarval *tv;
assert (!BUILDING);
+ //assert(ent && "no entity given");
tv = (tarval *)obstack_alloc (&tv_obst, sizeof (tarval));
//}
}
// pset_break(tarvals);
- if (found)
+ if (found) {
pset_remove(tarvals, found, tarval_hash(found));
+ }
}