summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beinfo.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2012-01-10 13:32:37 +0100
committerMatthias Braun <matze@braunis.de>2012-01-10 16:17:11 +0100
commitde9344436b5852388e5d3904890cd8a1d6bc66f0 (patch)
tree47164eab7cc7a35173a5f710cefc82e63429f161 /ir/be/beinfo.c
parenta2af5c8242650ebc41db607efa5119510463866d (diff)
sched: do not show first->block schedule edge
Diffstat (limited to 'ir/be/beinfo.c')
-rw-r--r--ir/be/beinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/beinfo.c b/ir/be/beinfo.c
index 56f5964..95cceb4 100644
--- a/ir/be/beinfo.c
+++ b/ir/be/beinfo.c
@@ -155,7 +155,7 @@ static void sched_edge_hook(FILE *F, const ir_node *irn)
if (get_irn_irg(irn)->be_data == NULL)
return;
- if (sched_is_scheduled(irn) && sched_has_prev(irn)) {
+ if (sched_is_scheduled(irn) && sched_has_prev(irn) && !is_Block(irn)) {
ir_node *prev = sched_prev(irn);
fprintf(F, "edge:{sourcename: ");
print_nodeid(F, irn);