summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beprefalloc.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2014-11-06 06:37:26 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2014-11-11 11:00:20 +0100
commit94126755b39a56706da7d23fbf32de3a3772deee (patch)
treefff24cf55a9da3ce3b41f9538d32b4ea70e7c476 /ir/be/beprefalloc.c
parent8e213ee179732664d351e82a4e4112e2d9487611 (diff)
be: Remove duplicate implementation of be_dump().
Diffstat (limited to 'ir/be/beprefalloc.c')
-rw-r--r--ir/be/beprefalloc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/ir/be/beprefalloc.c b/ir/be/beprefalloc.c
index 710d9c5..ab6bb70 100644
--- a/ir/be/beprefalloc.c
+++ b/ir/be/beprefalloc.c
@@ -1790,12 +1790,6 @@ static void be_pref_alloc_cls(void)
ir_free_resources(irg, IR_RESOURCE_IRN_LINK);
}
-static void dump(int mask, ir_graph *irg, const char *suffix)
-{
- if (be_options.dump_flags & mask)
- dump_ir_graph(irg, suffix);
-}
-
/**
* Run the spiller on the current graph.
*/
@@ -1810,7 +1804,7 @@ static void spill(void)
check_for_memory_operands(irg);
be_timer_pop(T_RA_SPILL_APPLY);
- dump(DUMP_RA, irg, "spill");
+ be_dump(DUMP_RA, irg, "spill");
}
/**