summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beinfo.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-11-26 22:22:00 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-11-27 10:16:48 +0100
commit8d40867b11db9064f88bc3fd928e034058873631 (patch)
tree52bf146d712e64b858bd4bcc8f9ebbe575cca954 /ir/be/beinfo.c
parent97bcf6f245eba55a1d3b25a7be543b367ab9c276 (diff)
beinfo: assert() that be_get_info() is not called on Projs.
This also corrects dumping schedule edges.
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 05f1b95..611d5c0 100644
--- a/ir/be/beinfo.c
+++ b/ir/be/beinfo.c
@@ -154,7 +154,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) && !is_Block(irn)) {
+ if (!is_Proj(irn) && sched_is_scheduled(irn) && !is_Block(irn)) {
ir_node *const prev = sched_prev(irn);
if (!sched_is_begin(prev)) {
fprintf(F, "edge:{sourcename: ");