X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftypewalk.c;h=fde9e46f63af3cb8321a820128347bc3ae95086e;hb=79d90510ce8f0cd7994b09f3fbfdab0d98940a4a;hp=6369474884d6378f054e58558875eb11b91ecb9e;hpb=43f61f31f03a0b2f37e2082dddfc7d3c845375d1;p=libfirm diff --git a/ir/tr/typewalk.c b/ir/tr/typewalk.c index 636947488..fde9e46f6 100644 --- a/ir/tr/typewalk.c +++ b/ir/tr/typewalk.c @@ -29,9 +29,7 @@ * - execute the pre function before recursion * - execute the post function after recursion */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #ifdef HAVE_STDLIB_H # include @@ -233,8 +231,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 +315,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 +394,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 +488,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 +541,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,