summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beschedtrivial.c
diff options
context:
space:
mode:
authorSebastian Hack <hack@ipd.info.uni-karlsruhe.de>2007-08-17 13:41:46 +0200
committerSebastian Hack <hack@ipd.info.uni-karlsruhe.de>2007-08-17 13:41:46 +0200
commite66230064eece9d3e28b66ae3a26bf8554459c60 (patch)
tree2d987257d954f513bf24dcd7a3ed842b69fde7f2 /ir/be/beschedtrivial.c
parent4e23143af0de33779298fdd210a4a5123315a29c (diff)
Changed API of listscheduler
init_graph now gets a birg not a arch_env/irg [r15559]
Diffstat (limited to 'ir/be/beschedtrivial.c')
-rw-r--r--ir/be/beschedtrivial.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ir/be/beschedtrivial.c b/ir/be/beschedtrivial.c
index dab5a42..044fca2 100644
--- a/ir/be/beschedtrivial.c
+++ b/ir/be/beschedtrivial.c
@@ -64,12 +64,10 @@ static ir_node *trivial_select(void *block_env, ir_nodeset_t *ready_set,
return irn;
}
-static void *trivial_init_graph(const list_sched_selector_t *vtab,
- const arch_env_t *arch_env, ir_graph *irg)
+static void *trivial_init_graph(const list_sched_selector_t *vtab, const be_irg_t *birg)
{
(void) vtab;
- (void) irg;
- return (void *)arch_env;
+ return (void *) be_get_birg_arch_env(birg);
}
static void *trivial_init_block(void *graph_env, ir_node *block)