summaryrefslogtreecommitdiffhomepage
path: root/ir/be/besched.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2008-10-23 20:02:53 +0200
committerMatthias Braun <matze@braunis.de>2008-10-23 20:02:53 +0200
commita824d376c1c37f80c7e1ebd6304665380d28fc5f (patch)
treec84b93131439a765fcea9045787a4667aa5502cf /ir/be/besched.c
parent11b7b651234355a0298e1075d57703c554e0ef4d (diff)
- Part1 of backend reorganisation:
Node flags and node registers are stored in a generic backend_info struct now instead of every part of the backend doing custom (and slow) stuff [r23142]
Diffstat (limited to 'ir/be/besched.c')
-rw-r--r--ir/be/besched.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/ir/be/besched.c b/ir/be/besched.c
index 5cdb8f4..0a84ac4 100644
--- a/ir/be/besched.c
+++ b/ir/be/besched.c
@@ -190,24 +190,3 @@ void be_remove_dead_nodes_from_schedule(be_irg_t *birg)
// walk schedule and remove non-marked nodes
irg_block_walk_graph(irg, remove_dead_nodes_walker, NULL, &env);
}
-
-static void *sched_irn_init(ir_phase *ph, const ir_node *irn, void *old)
-{
- sched_info_t *info = old ? old : phase_alloc(ph, sizeof(*info));
-
- info->idx = get_irn_idx(irn);
- INIT_LIST_HEAD(&info->list);
- info->scheduled = 0;
- info->time_step = 0;
- return info;
-}
-
-void be_sched_init_phase(ir_graph *irg)
-{
- init_irg_phase(irg, PHASE_BE_SCHED, 0, sched_irn_init);
-}
-
-void be_sched_free_phase(ir_graph *irg)
-{
- free_irg_phase(irg, PHASE_BE_SCHED);
-}