* totals. */
void print_graph_counts(int verbosity) {
int i, counter, total = 0;
* totals. */
void print_graph_counts(int verbosity) {
int i, counter, total = 0;
for (i = 0; i < get_irp_n_irgs(); i++) {
counter = 0;
irg_walk_graph(get_irp_irg(i), count_nodes, NULL, &counter);
for (i = 0; i < get_irp_n_irgs(); i++) {
counter = 0;
irg_walk_graph(get_irp_irg(i), count_nodes, NULL, &counter);
- if (is_class_type(tp)) counter = get_class_n_members(tp);
- if (is_struct_type(tp)) counter = get_struct_n_members(tp);
- if (is_union_type(tp)) counter = get_union_n_members(tp);
+ if (is_Class_type(tp)) counter = get_class_n_members(tp);
+ if (is_Struct_type(tp)) counter = get_struct_n_members(tp);
+ if (is_Union_type(tp)) counter = get_union_n_members(tp);
- printf(" +%3d entities in %s type %s.\n", counter, get_type_tpop_name(tp), get_type_name(tp));
+ printf(" +%3d entities in %s type %s.\n", counter, get_type_tpop_name(tp), get_type_name(tp));
total += counter;
}
}
printf(" +++ There are %d types with total %d entities.\n", get_irp_n_types(), total);
printf(" +++ Global type has %d entities\n",
total += counter;
}
}
printf(" +++ There are %d types with total %d entities.\n", get_irp_n_types(), total);
printf(" +++ Global type has %d entities\n",