{
obj_kind_t kind; /* written obj_kind_obj or obj_kind_array */
struct obj_desc_str *next; /* link all descrs into a linked list */
-# ifdef PTO_DUMMY
- int is_dummy; /* allow to filter out dummy objects */
-# endif /* defined PTO_DUMMY */
type *tp; /* type of described object */
} obj_desc_t;
{
obj_kind_t kind; /* always written obj_kind_obj */
struct obj_desc_str *next; /* link all descrs into a linked list */
-# ifdef PTO_DUMMY
- int is_dummy; /* allow to filter out dummy objects */
-# endif /* defined PTO_DUMMY */
type *tp; /* type of described object */
entity **fields; /* fields of described object */
int n_fields; /* number of fields */
{
obj_kind_t kind; /* always written obj_kind_array */
struct obj_desc_str *next; /* link all descrs into a linked list */
-# ifdef PTO_DUMMY
- int is_dummy; /* allow to filter out dummy objects */
-# endif /* defined PTO_DUMMY */
type *tp; /* (array) type of described object */
qset_t *val; /* all values of 'the' 'field' */
} obj_arr_desc_t;
{
void *kind; /* always written to &pto_id */
ir_node *node; /* Rubbish: node for which this pto_t was constructed */
+ int is_dummy; /* allow to filter out dummy values */
qset_t *objs; /* qset of obj_desc_t* */
} pto_t;
/* Ctors for the pto types */
obj_desc_t *obj_desc_new (type*);
-# ifdef PTO_DUMMY
-/* Mark an obj desc as a dummy */
-void obj_desc_set_dummy (obj_desc_t*);
-
-/* Say whether an obj desc is a dummy */
-int obj_desc_is_dummy (obj_desc_t*);
-# endif /* defined PTO_DUMMY */
-
-
/* Deallocate an obj desc */
void obj_desc_delete (obj_desc_t*);
/* Add all the given names to the given pto. */
void pto_add_all_names (pto_t*, qset_t*);
+/* Mark the given pto as a dumy */
+void pto_set_dummy (pto_t*);
+
+/* Say whether the given pto is a dummy */
+int pto_is_dummy (pto_t*);
/* Find the arguments of a graph. For a method that has n args, the
result array has 'n+1' entries, the last of which is written NULL.
\f
/*
$Log$
+ Revision 1.3 2004/11/08 12:33:06 liekweg
+ initialisation; sanitize print levels, misc fixes
+
Revision 1.2 2004/11/04 14:58:38 liekweg
expanded pto, added initialisation, added debugging printing