From 6de7c7d7868118836d855419dfd9efe506a0b691 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Thu, 8 Dec 2005 10:08:32 +0000 Subject: [PATCH] unititialized var fixed renamed old compute_outs() into compute_irg_outs() --- ir/be/becopyoptmain.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ir/be/becopyoptmain.c b/ir/be/becopyoptmain.c index cafcf2534..cb73c3e41 100644 --- a/ir/be/becopyoptmain.c +++ b/ir/be/becopyoptmain.c @@ -67,8 +67,8 @@ static void load_colors(color_save_t *color_saver) { void be_copy_opt(be_chordal_env_t *chordal_env) { copy_opt_t *co; int costs, costs_init=-1, costs_heur=-1, costs_ilp_5_sec=-1, costs_ilp_30_sec=-1, costs_ilp=-1; - int lower_bound; - int was_optimal = 0; + int lower_bound = -1; + int was_optimal = 0; color_save_t saver; saver.arch_env = chordal_env->session_env->main_env->arch_env; @@ -77,7 +77,7 @@ void be_copy_opt(be_chordal_env_t *chordal_env) { /* BETTER: You can remove this if you replace all * `grep get_irn_out *.c` by the irouts.h module.*/ - compute_outs(chordal_env->session_env->irg); + compute_irg_outs(chordal_env->session_env->irg); co = new_copy_opt(chordal_env, get_costs_loop_depth); DBG((dbg, LEVEL_1, "----> CO: %s\n", co->name)); -- 2.20.1