phiclass computation takes now an additional argument
authorChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Sun, 11 Feb 2007 15:52:16 +0000 (15:52 +0000)
committerChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Sun, 11 Feb 2007 15:52:16 +0000 (15:52 +0000)
ir/be/bespillremat.c
ir/be/bessadestrsimple.c

index 744d2b1..5a289b1 100644 (file)
@@ -4335,7 +4335,7 @@ verify_phiclasses(spill_ilp_t * si)
 {
        /* analyze phi classes */
        phi_class_free(si->pc);
-       si->pc = phi_class_new_from_irg(si->birg->irg);
+       si->pc = phi_class_new_from_irg(si->birg->irg, 0);
 
        DBG((si->dbg, LEVEL_2, "\t calling memory interference checker\n"));
        irg_block_walk_graph(si->birg->irg, luke_meminterferencechecker, NULL, si);
@@ -4425,7 +4425,7 @@ be_spill_remat(be_irg_t *birg, const arch_register_class_t *cls)
        DBG((si.dbg, LEVEL_2, "\t blockwalker\n"));
        irg_block_walk_graph(irg, luke_blockwalker, NULL, &si);
 
-       si.pc = phi_class_new_from_irg(birg->irg);
+       si.pc = phi_class_new_from_irg(birg->irg, 0);
        if (opt_memcopies) {
                DBG((si.dbg, LEVEL_2, "\t memcopyhandler\n"));
                memcopyhandler(&si);
index 2223204..d4b91a9 100644 (file)
@@ -311,7 +311,7 @@ set *be_ssa_destr_simple(ir_graph *irg, const arch_env_t *aenv) {
        irg_block_walk_graph(irg, ssa_destr_simple_walker, NULL, &sde);
 
        /* Mapping of SSA-Values <--> Variables */
-       pc = phi_class_new_from_irg(irg);
+       pc = phi_class_new_from_irg(irg, 0);
        be_clear_links(irg);
        irg_walk_graph(irg, values_to_vars, NULL, &sde);