X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbespill.c;h=1e18a652331c1091a60b1174f6c2b4b8c30b86aa;hb=cbe8608ae6f9a523d007919691104b444c92d004;hp=573aaa1ab87e88206d0c6afc10fbaafcd4d99110;hpb=1cd6d439fad7b62220e82c8e4a7a4167f4ab93d4;p=libfirm diff --git a/ir/be/bespill.c b/ir/be/bespill.c index 573aaa1ab..1e18a6523 100644 --- a/ir/be/bespill.c +++ b/ir/be/bespill.c @@ -29,7 +29,7 @@ #include "irtools.h" #include "debug.h" #include "iredges_t.h" -#include "adt/raw_bitset.h" +#include "raw_bitset.h" #include "statev.h" #include "irgwalk.h" @@ -136,7 +136,7 @@ static void prepare_constr_insn(be_pre_spill_env_t *env, ir_node *node) /* if the constraint is the same, no copy is necessary * TODO generalise unequal but overlapping constraints */ - if (rbitset_equal(req->limited, req2->limited, cls->n_regs)) + if (rbitsets_equal(req->limited, req2->limited, cls->n_regs)) continue; copy = be_new_Copy(cls, block, in); @@ -281,6 +281,7 @@ void be_do_spill(be_irg_t *birg, const arch_register_class_t *cls) selected_spiller->spill(birg, cls); } +BE_REGISTER_MODULE_CONSTRUCTOR(be_init_spilloptions); void be_init_spilloptions(void) { lc_opt_entry_t *be_grp = lc_opt_get_grp(firm_opt_get_root(), "be"); @@ -292,5 +293,3 @@ void be_init_spilloptions(void) FIRM_DBG_REGISTER(dbg, "firm.be.spillprepare"); } - -BE_REGISTER_MODULE_CONSTRUCTOR(be_init_spilloptions);