Remove unnecessary return; at end of void functions.
authorChristoph Mallon <christoph.mallon@gmx.de>
Mon, 4 Aug 2008 09:45:57 +0000 (09:45 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Mon, 4 Aug 2008 09:45:57 +0000 (09:45 +0000)
[r20959]

ir/ana/irouts.c
ir/be/bechordal_main.c
ir/be/beifg_clique.c
ir/be/beifg_pointer.c
ir/be/belower.c
ir/ir/irgwalk.c
ir/tr/typewalk.c
ir/tv/fltcalc.c
ir/tv/tv.c

index 2f1d43e..19d8f50 100644 (file)
@@ -214,8 +214,6 @@ static void irg_out_walk_2(ir_node *node, irg_walk_func *pre,
        }
 
        if (post) post(node, env);
-
-       return;
 }
 
 void irg_out_walk(ir_node *node,
@@ -226,7 +224,6 @@ void irg_out_walk(ir_node *node,
                inc_irg_visited (current_ir_graph);
                irg_out_walk_2(node, pre, post, env);
        }
-       return;
 }
 
 static void irg_out_block_walk2(ir_node *bl,
index 7524af1..eafe39f 100644 (file)
@@ -571,8 +571,6 @@ static void be_ra_chordal_main(be_irg_t *birg)
        stat_ev_if {
                be_stat_ev("insns_after", count_insns(irg));
        }
-
-       return;
 }
 
 static be_ra_t be_ra_chordal_allocator = {
index c068a96..1a82faf 100644 (file)
@@ -270,8 +270,6 @@ static void find_nodes(const ifg_clique_t *ifg, cli_iter_t *it)
                element = list_entry(cli_head->list.next, cli_element_t, list);
                it->curr_cli_element = element;
        }
-
-       return;
 }
 
 static ir_node *get_next_node(cli_iter_t *it)
@@ -401,8 +399,6 @@ static void find_first_neighbour(const ifg_clique_t *ifg, cli_iter_t *it, const
 
        it->curr_cli_element = element;
        it->curr_irn = irn;
-
-       return;
 }
 
 static ir_node *get_next_neighbour(cli_iter_t *it)
@@ -484,8 +480,6 @@ static void ifg_clique_neighbours_break(const void *self, void *iter)
        (void) self;
 
        bitset_free(it->visited_neighbours);
-
-       return;
 }
 
 static ir_node *ifg_clique_nodes_begin(const void *self, void *iter)
@@ -506,8 +500,6 @@ static void ifg_clique_nodes_break(const void *self, void *iter)
        (void) self;
 
        bitset_free(it->visited_nodes);
-
-       return;
 }
 
 static int ifg_clique_degree(const void *self, const ir_node *irn)
index 95fb966..a51735c 100644 (file)
@@ -614,8 +614,6 @@ static void ifg_pointer_neighbours_break(const void *self, void *iter)
        (void) self;
 
        bitset_free(it->visited_neighbours);
-
-       return;
 }
 
 static ir_node *ifg_pointer_nodes_begin(const void *self, void *iter)
index 42c51b5..3eb1d7a 100644 (file)
@@ -665,8 +665,6 @@ static void assure_constraints_walker(ir_node *irn, void *walk_env) {
 
        if (sched_is_scheduled(irn) && mode_is_datab(get_irn_mode(irn)))
                assure_different_constraints(irn, walk_env);
-
-       return;
 }
 
 /**
index f72afcf..237c07c 100644 (file)
@@ -282,7 +282,6 @@ void irg_walk(ir_node *node, irg_walk_func *pre, irg_walk_func *post, void *env)
 #ifdef INTERPROCEDURAL_VIEW
        }
 #endif
-       return;
 }
 
 /*
@@ -432,7 +431,6 @@ void irg_walk_in_or_dep(ir_node *node, irg_walk_func *pre, irg_walk_func *post,
                nodes_touched = irg_walk_in_or_dep_2(node, pre, post, env);
                clear_using_irn_visited(current_ir_graph);
        }
-       return;
 }
 
 /*
@@ -496,7 +494,6 @@ cg_walk_2(ir_node *node, irg_walk_func *pre, irg_walk_func *post, void * env)
 
                if (post) post(node, env);
        }
-       return;
 }
 
 #ifdef INTERPROCEDURAL_VIEW
index 6369474..d7633d4 100644 (file)
@@ -233,8 +233,6 @@ static void do_type_walk(type_or_ent tore,
        /* execute post method */
        if (post)
                post(tore, env);
-
-       return;
 }
 
 /**  Check whether node contains types or entities as an attribute.
@@ -319,7 +317,6 @@ void type_walk_irg(ir_graph *irg,
        do_type_walk(cont, pre, post, env);
 
        current_ir_graph = rem;
-       return;
 }
 
 static void type_walk_s2s_2(type_or_ent tore,
@@ -399,7 +396,6 @@ static void type_walk_s2s_2(type_or_ent tore,
                printf(" *** Faulty type or entity! \n");
                break;
        }
-       return;
 }
 
 void type_walk_super2sub(type_walk_func *pre,
@@ -494,7 +490,6 @@ type_walk_super_2(type_or_ent tore,
                printf(" *** Faulty type or entity! \n");
                break;
        }
-       return;
 }
 
 void type_walk_super(type_walk_func *pre,
@@ -548,8 +543,6 @@ class_walk_s2s_2(ir_type *tp,
        /* execute post method */
        if (post)
                post(tp, env);
-
-       return;
 }
 
 void class_walk_super2sub(class_walk_func *pre,
index a1a2b17..fe6862e 100644 (file)
@@ -817,8 +817,6 @@ static void _trunc(const fp_value *a, fp_value *result) {
        sc_and(_mant(a), temp, _mant(result));
 
        if (a != result) memcpy(_exp(result), _exp(a), value_size);
-
-       return;
 }
 
 /********
index e8c9649..ac8a6bb 100644 (file)
@@ -134,8 +134,6 @@ INLINE static void tarval_verify(tarval *tv)
 
        if (!FIND_TARVAL(tv)) fail_verify(tv);
        if (tv->length > 0 && !FIND_VALUE(tv->value, tv->length)) fail_verify(tv);
-
-       return;
 }
 #endif /* NDEBUG */