summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bepbqpcoloring.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-18 11:18:43 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-19 00:11:19 +0200
commit3fa0d5946323ff6b3e908a79c90d10d9312a6227 (patch)
tree47eab4e76e60b8bb287083e53f7f3addcf0925b0 /ir/be/bepbqpcoloring.c
parent806e8cdd56612ccbb4c3185ea43075e5b0808e8b (diff)
Use the existing chordal dumper mechanic instead of duplicating it.
Diffstat (limited to 'ir/be/bepbqpcoloring.c')
-rw-r--r--ir/be/bepbqpcoloring.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/ir/be/bepbqpcoloring.c b/ir/be/bepbqpcoloring.c
index 27abc47..e5b9781 100644
--- a/ir/be/bepbqpcoloring.c
+++ b/ir/be/bepbqpcoloring.c
@@ -543,12 +543,7 @@ static void be_pbqp_coloring(be_chordal_env_t *env)
/* insert perms */
dom_tree_walk_irg(irg, insert_perms, NULL, env);
- /* dump graph after inserting perms */
- if (env->opts->dump_flags & BE_CH_DUMP_CONSTR) {
- char buf[256];
- snprintf(buf, sizeof(buf), "%s-constr", cls->name);
- dump_ir_graph(irg, buf);
- }
+ be_chordal_dump(BE_CH_DUMP_CONSTR, irg, cls, "constr");
be_pbqp_alloc_env_t pbqp_alloc_env;
ir_calculate_execfreq_int_factors(&pbqp_alloc_env.execfreq_factors, irg);