summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bera.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2010-07-02 18:58:18 +0200
committerMatthias Braun <matze@braunis.de>2010-07-02 18:58:18 +0200
commit7a178059678ff6c6094a7cd8fac5644367417102 (patch)
treece3e2c5bee4d6c409b96043cbda8384165c29505 /ir/be/bera.c
parent18814151f8c0ea17b2a7bf84c82ee3c2e66d6a6b (diff)
change register allocator and related interfaces to use ir_graph* instead of be_irg_t*
[r27692]
Diffstat (limited to 'ir/be/bera.c')
-rw-r--r--ir/be/bera.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/be/bera.c b/ir/be/bera.c
index 1b333fd..5079570 100644
--- a/ir/be/bera.c
+++ b/ir/be/bera.c
@@ -52,11 +52,11 @@ void be_register_allocator(const char *name, be_ra_t *allocator)
be_add_module_to_list(&register_allocators, name, allocator);
}
-void be_allocate_registers(be_irg_t *birg)
+void be_allocate_registers(ir_graph *irg)
{
assert(selected_allocator != NULL);
if (selected_allocator != NULL) {
- selected_allocator->allocate(birg);
+ selected_allocator->allocate(irg);
}
}