Simplyfied firm arrays by deleting useless macro and union.
[libfirm] / ir / ir / irgwalk.c
index 109f8ef..104ca35 100644 (file)
@@ -501,7 +501,7 @@ void walk_const_code(irg_walk_func *pre, irg_walk_func *post, void *env)
        my_env.env = env;
 
        /* Walk all types that can contain constant entities.  */
-       for (s = IR_SEGMENT_FIRST; s <= IR_SEGMENT_LAST; s++)
+       for (s = IR_SEGMENT_FIRST; s <= IR_SEGMENT_LAST; ++s)
                walk_types_entities(get_segment_type(s), &walk_entity, &my_env);
        n_types = get_irp_n_types();
        for (i = 0; i < n_types; i++)