summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bespilldaemel.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2013-11-07 18:31:12 +0100
committerMatthias Braun <matze@braunis.de>2013-11-12 13:14:31 +0100
commit093d930a734d80e7171994df607ee4ca166ae26c (patch)
tree6e0b598cc783c430ee42e646908d31de9fd8a7da /ir/be/bespilldaemel.c
parent8bf06a8b0a137d04a8084c6b99f3ad7d1d129c6b (diff)
get rid of unnecessary be_spiller_t struct
Diffstat (limited to 'ir/be/bespilldaemel.c')
-rw-r--r--ir/be/bespilldaemel.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/ir/be/bespilldaemel.c b/ir/be/bespilldaemel.c
index 4b6e5d7..53459d4 100644
--- a/ir/be/bespilldaemel.c
+++ b/ir/be/bespilldaemel.c
@@ -344,10 +344,6 @@ static void be_spill_daemel(ir_graph *irg, const arch_register_class_t *new_cls)
BE_REGISTER_MODULE_CONSTRUCTOR(be_init_daemelspill)
void be_init_daemelspill(void)
{
- static be_spiller_t daemel_spiller = {
- be_spill_daemel
- };
-
- be_register_spiller("daemel", &daemel_spiller);
+ be_register_spiller("daemel", &be_spill_daemel);
FIRM_DBG_REGISTER(dbg, "firm.be.spilldaemel");
}