From afb06beb9eb5c7bb28a86f6b18bdd60b2247dff8 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Fri, 17 Nov 2006 12:08:15 +0000 Subject: [PATCH] improve documentation --- ir/be/bespill.h | 5 +++-- ir/be/bespillmorgan.c | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ir/be/bespill.h b/ir/be/bespill.h index 9e0235e57..c6e4b7e5a 100644 --- a/ir/be/bespill.h +++ b/ir/be/bespill.h @@ -37,8 +37,9 @@ DEBUG_ONLY(void be_set_spill_env_dbg_module(spill_env_t *env, firm_dbg_module_t /** * Inserts a new entry into the list of reloads to place (the real nodes will * be created when be_insert_spills_reloads is run). You don't have to - * explicitely create spill nodes, they will be created automatically as soon - * as a reload is created. + * explicitely create spill nodes, they will be created automatically after + * the definition of a value as soon as a reload is created. (we should add a + * possibility for explicit spill placement in the future) */ void be_add_reload(spill_env_t *senv, ir_node *to_spill, ir_node *before); diff --git a/ir/be/bespillmorgan.c b/ir/be/bespillmorgan.c index 5126d0c31..ba5b0583a 100644 --- a/ir/be/bespillmorgan.c +++ b/ir/be/bespillmorgan.c @@ -518,8 +518,7 @@ static int reduce_register_pressure_in_loop(morgan_env_t *env, const ir_loop *lo } /* calculate number of spills needed in outer loop and spill - * unused livethrough nodes around this loop - */ + * unused livethrough nodes around this loop */ if(spills_needed > outer_spills_possible) { int spills_to_place; outer_spills_needed = outer_spills_possible; -- 2.20.1