X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=ir%2Fopt%2Ftailrec.c;h=61ea98b32e46fb33f3a4f5b722420c7699c1e7ee;hb=4b734653b3f11a3182963369bb58980e4d5a62cb;hp=be13961d1c6b7796ab71b834379c372f765fca51;hpb=81d4cf5aeab4d0c0bc2a5e7c461d58ee7a7522d6;p=libfirm diff --git a/ir/opt/tailrec.c b/ir/opt/tailrec.c index be13961d1..61ea98b32 100644 --- a/ir/opt/tailrec.c +++ b/ir/opt/tailrec.c @@ -24,9 +24,7 @@ * @author Michael Beck * @version $Id$ */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include #include @@ -47,7 +45,6 @@ #include "irouts.h" #include "irhooks.h" #include "ircons_t.h" -#include "xmalloc.h" DEBUG_ONLY(static firm_dbg_module_t *dbg); @@ -307,9 +304,9 @@ static void do_opt_tail_rec(ir_graph *irg, tr_env *env) { modes[i] = mode; if (env->variants[i] == TR_ADD) { - set_value(i, new_Const(mode, get_mode_null(mode))); + set_value(i, new_Const(get_mode_null(mode))); } else if (env->variants[i] == TR_MUL) { - set_value(i, new_Const(mode, get_mode_one(mode))); + set_value(i, new_Const(get_mode_one(mode))); } } mature_immBlock(start_block);