case IR_INITIALIZER_CONST:
irn_type_walker(initializer->consti.value, pre, post, env);
return;
case IR_INITIALIZER_CONST:
irn_type_walker(initializer->consti.value, pre, post, env);
return;
ir_initializer_t *subinitializer
= initializer->compound.initializers[i];
walk_initializer(subinitializer, pre, post, env);
ir_initializer_t *subinitializer
= initializer->compound.initializers[i];
walk_initializer(subinitializer, pre, post, env);
/** Check whether node contains types or entities as an attribute.
If so start a walk over that information. */
/** Check whether node contains types or entities as an attribute.
If so start a walk over that information. */
-static void start_type_walk(ir_node *node, void *ctx) {
- type_walk_env *env = ctx;
+static void start_type_walk(ir_node *node, void *ctx)
+{
+ type_walk_env *env = (type_walk_env*)ctx;
inc_master_type_visited();
for (i = 0; i < n_types; ++i) {
cont.typ = get_irp_type(i);
inc_master_type_visited();
for (i = 0; i < n_types; ++i) {
cont.typ = get_irp_type(i);
}
cont.typ = get_glob_type();
do_type_walk(cont, pre, post, env);
}
cont.typ = get_glob_type();
do_type_walk(cont, pre, post, env);
do_type_walk(cont, pre, post, env);
cont.typ = get_method_value_param_type(get_entity_type(get_irg_entity(irg)));
do_type_walk(cont, pre, post, env);
cont.typ = get_method_value_param_type(get_entity_type(get_irg_entity(irg)));
do_type_walk(cont, pre, post, env);
}
for (i = IR_SEGMENT_FIRST; i <= IR_SEGMENT_LAST; ++i) {
cont.typ = get_segment_type((ir_segment_t) i);
do_type_walk(cont, pre, post, env);
}
for (i = IR_SEGMENT_FIRST; i <= IR_SEGMENT_LAST; ++i) {
cont.typ = get_segment_type((ir_segment_t) i);
do_type_walk(cont, pre, post, env);
}
}
do_type_walk(cont, pre, post, env);
}
}
inc_master_type_visited();
irg_walk(get_irg_end(irg), start_type_walk, NULL, &type_env);
inc_master_type_visited();
irg_walk(get_irg_end(irg), start_type_walk, NULL, &type_env);
do_type_walk(cont, pre, post, env);
current_ir_graph = rem;
do_type_walk(cont, pre, post, env);
current_ir_graph = rem;
inc_master_type_visited();
cont.typ = get_glob_type();
type_walk_s2s_2(cont, pre, post, env);
inc_master_type_visited();
cont.typ = get_glob_type();
type_walk_s2s_2(cont, pre, post, env);
cont.typ = get_irp_type(i);
type_walk_s2s_2(cont, pre, post, env);
}
cont.typ = get_irp_type(i);
type_walk_s2s_2(cont, pre, post, env);
}
-static void
-type_walk_super_2(type_or_ent tore,
- type_walk_func *pre,
- type_walk_func *post,
- void *env) {
+static void type_walk_super_2(type_or_ent tore, type_walk_func *pre,
+ type_walk_func *post, void *env)
+{
inc_master_type_visited();
cont.typ = get_glob_type();
type_walk_super_2(cont, pre, post, env);
inc_master_type_visited();
cont.typ = get_glob_type();
type_walk_super_2(cont, pre, post, env);
cont.typ = get_irp_type(i);
type_walk_super_2(cont, pre, post, env);
}
cont.typ = get_irp_type(i);
type_walk_super_2(cont, pre, post, env);
}
-static void
-class_walk_s2s_2(ir_type *tp,
- class_walk_func *pre,
- class_walk_func *post,
- void *env)
+static void class_walk_s2s_2(ir_type *tp, class_walk_func *pre,
+ class_walk_func *post, void *env)
class_walk_s2s_2(tp, pre, post, env);
}
}
class_walk_s2s_2(tp, pre, post, env);
}
}