From 94f5fbca3e29d20628298664a59409fac48ddf36 Mon Sep 17 00:00:00 2001 From: Sebastian Hack Date: Tue, 2 May 2006 11:57:38 +0000 Subject: [PATCH] Small changes --- ir/be/bechordal_main.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ir/be/bechordal_main.c b/ir/be/bechordal_main.c index c2781724d..21d7a5a4b 100644 --- a/ir/be/bechordal_main.c +++ b/ir/be/bechordal_main.c @@ -286,6 +286,14 @@ static void put_ignore_colors(be_chordal_env_t *chordal_env) bitset_set(chordal_env->ignore_colors, i); } +FILE *be_chordal_open(const be_chordal_env_t *env, const char *prefix, const char *suffix) +{ + char buf[1024]; + + ir_snprintf(buf, sizeof(buf), "%s%F_%s.%s", prefix, env->irg, env->cls->name, suffix); + return fopen(buf, "wt"); +} + static void be_ra_chordal_main(const be_irg_t *bi) { const be_main_env_t *main_env = bi->main_env; @@ -333,6 +341,7 @@ static void be_ra_chordal_main(const be_irg_t *bi) be_spill_belady(&chordal_env); } dump(BE_CH_DUMP_SPILL, irg, chordal_env.cls, "-spill", dump_ir_block_graph_sched); + be_abi_fix_stack_nodes(bi->abi); be_liveness(irg); be_check_pressure(&chordal_env); -- 2.20.1