//firm_dbg_set_mask(dbg, DBG_SPILL);
be_assure_liveness(birg);
+ /* construct control flow loop tree */
+ if(! (get_irg_loopinfo_state(irg) & loopinfo_cf_consistent)) {
+ construct_cf_backedges(irg);
+ }
/* init belady env */
obstack_init(&env.ob);
obstack_free(&env.ob, NULL);
}
-static void be_spill_belady_oldinterface(const be_chordal_env_t *chordal_env)
-{
- be_spill_belady(chordal_env->birg, chordal_env->cls);
-}
-
void be_init_spillbelady(void)
{
static be_spiller_t belady_spiller = {
- be_spill_belady_oldinterface
+ be_spill_belady
};
be_register_spiller("belady", &belady_spiller);