summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bera.c
diff options
context:
space:
mode:
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>2007-07-03 17:43:45 +0200
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>2007-07-03 17:43:45 +0200
commit31636543e37dbecfb9b33664a1eb981d01f71ab8 (patch)
treefad392fa67dbeb3a7a00c1d9113c0cdfa5ce0b05 /ir/be/bera.c
parent79ed89a676afd08eb739330d46b85b1d1532aec1 (diff)
backend part is always WITH_LIBCORE :-)
[r14903]
Diffstat (limited to 'ir/be/bera.c')
-rw-r--r--ir/be/bera.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ir/be/bera.c b/ir/be/bera.c
index 4eb3aa9..b673bef 100644
--- a/ir/be/bera.c
+++ b/ir/be/bera.c
@@ -65,12 +65,11 @@ void be_allocate_registers(be_irg_t *birg)
}
}
-void be_init_ra(void) {
-#ifdef WITH_LIBCORE
+void be_init_ra(void)
+{
lc_opt_entry_t *be_grp = lc_opt_get_grp(firm_opt_get_root(), "be");
be_add_module_list_opt(be_grp, "regalloc", "register allocator",
&register_allocators, (void**) &selected_allocator);
-#endif
}
BE_REGISTER_MODULE_CONSTRUCTOR(init_be_ra);