From: Matthias Braun Date: Thu, 28 Jun 2007 16:24:49 +0000 (+0000) Subject: fix bestate X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=95217dbe4d95dfccd7719a9b7e06915dff547481;p=libfirm fix bestate [r14820] --- diff --git a/ir/be/bestate.c b/ir/be/bestate.c index 5c152cfd7..97639e29e 100644 --- a/ir/be/bestate.c +++ b/ir/be/bestate.c @@ -135,6 +135,8 @@ spill_info_t *create_spill(minibelady_env_t *env, ir_node *state, int force) spill_info = get_spill_info(env, state); if(spill_info == NULL) { spill_info = create_spill_info(env, state); + } else if(spill_info->spill != NULL) { + return spill_info; } if(sched_is_scheduled(state)) {