From e92493402c744794af099654a67c0e78a7ceea3e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20W=C3=BCrdig?= Date: Sun, 11 Feb 2007 15:52:16 +0000 Subject: [PATCH] phiclass computation takes now an additional argument --- ir/be/bespillremat.c | 4 ++-- ir/be/bessadestrsimple.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ir/be/bespillremat.c b/ir/be/bespillremat.c index 744d2b15d..5a289b17c 100644 --- a/ir/be/bespillremat.c +++ b/ir/be/bespillremat.c @@ -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); diff --git a/ir/be/bessadestrsimple.c b/ir/be/bessadestrsimple.c index 2223204cd..d4b91a99c 100644 --- a/ir/be/bessadestrsimple.c +++ b/ir/be/bessadestrsimple.c @@ -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); -- 2.20.1