X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbechordal.c;h=7c3bafa4b7208cd9bd4ee8fdddd2b291710581e7;hb=e86f1bc36650e0978d66ffb5fcd347a525840655;hp=36d472cf55acd0c956c0439ec75b0e438699e420;hpb=f2c2e45eb4e677fef5bf6a8e418b2a22441172d5;p=libfirm diff --git a/ir/be/bechordal.c b/ir/be/bechordal.c index 36d472cf5..7c3bafa4b 100644 --- a/ir/be/bechordal.c +++ b/ir/be/bechordal.c @@ -50,15 +50,15 @@ #include "beutil.h" #include "besched.h" -#include "besched_t.h" +#include "besched.h" #include "belive_t.h" #include "benode_t.h" -#include "bearch_t.h" +#include "bearch.h" #include "beirgmod.h" #include "beifg.h" #include "beinsn_t.h" #include "bestatevent.h" -#include "beirg_t.h" +#include "beirg.h" #include "beintlive_t.h" #include "bera.h" #include "bechordal_t.h" @@ -674,17 +674,17 @@ static void pressure(ir_node *block, void *env_ptr) border_def(proj, step, 1); } } - } - - /* - * If the node defines some value, which can put into a - * register of the current class, make a border for it. - */ - if (has_reg_class(env, irn)) { - int nr = get_irn_idx(irn); - - bitset_clear(live, nr); - border_def(irn, step, 1); + } else { + /* + * If the node defines some value, which can put into a + * register of the current class, make a border for it. + */ + if (has_reg_class(env, irn)) { + int nr = get_irn_idx(irn); + + bitset_clear(live, nr); + border_def(irn, step, 1); + } } /*