X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbessadestr.c;h=41c11d380280b7c721286f2f9b4a36acf8c62da0;hb=f8133875ddf70372c10a52b7266f3d04e8129486;hp=e3d7c888de55ca1da3d198c704b57aa33f9a09c3;hpb=d6768d8d4427959eb045aafb1d15bd189beaa5dd;p=libfirm diff --git a/ir/be/bessadestr.c b/ir/be/bessadestr.c index e3d7c888d..41c11d380 100644 --- a/ir/be/bessadestr.c +++ b/ir/be/bessadestr.c @@ -18,12 +18,11 @@ */ /** - * Author: Daniel Grund - * Date: 25.05.2005 - * Copyright: (c) Universitaet Karlsruhe - * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. - * - * Performs SSA-Destruction. + * @file + * @brief Performs SSA-Destruction. + * @author Daniel Grund + * @date 25.05.2005 + * @version $Id$ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -50,7 +49,7 @@ #include "benodesets.h" #include "bestatevent.h" #include "beirg_t.h" -#include "bera.h" +#include "beintlive_t.h" DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;) @@ -222,7 +221,6 @@ static void insert_all_perms_walker(ir_node *bl, void *data) { */ static void set_regs_or_place_dupls_walker(ir_node *bl, void *data) { be_chordal_env_t *chordal_env = data; - be_lv_t *lv = chordal_env->birg->lv; ir_node *phi; /* Consider all phis of this block */ @@ -248,7 +246,7 @@ static void set_regs_or_place_dupls_walker(ir_node *bl, void *data) { DBG((dbg, LEVEL_1, " for %+F(%s) -- %+F(%s)\n", phi, phi_reg->name, arg, arg_reg->name)); - if (values_interfere(lv, phi, arg)) { + if (values_interfere(chordal_env->birg, phi, arg)) { /* Insert a duplicate in arguments block, make it the new phi arg,