if (get_irg_typeinfo_state(current_ir_graph) == irg_typeinfo_consistent ||
get_irg_typeinfo_state(current_ir_graph) == irg_typeinfo_inconsistent) {
type *tp = get_irn_typeinfo_type(n);
- if (tp != none_type)
+ if (tp != firm_none_type)
fprintf(F, " [%s]", get_type_name_ex(tp, &bad));
else
fprintf(F, " []");
pset_insert_ptr(mark_set, n);
if (depth > 0) {
+ int i, start = is_Block(n) ? 0 : -1;
dump_whole_node(n, F);
- int start = is_Block(n) ? 0 : -1;
- for (int i = start; i < get_irn_arity(n); ++i)
+ for (i = start; i < get_irn_arity(n); ++i)
descend_and_dump(F, get_irn_n(n, i), depth-1, mark_set);
} else {
dump_node(F, n);