X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeutil.c;h=c196ff78d4a0a1d8b81f439c14241c633853c3eb;hb=2176caea24ef5a9786dc4ada2bd2eaf74ad88b4d;hp=a600ab730bc28ec7b04e43e4f6a744fae3976102;hpb=9e56dbf066d3698df877e2a9f78caeca29ea5a03;p=libfirm diff --git a/ir/be/beutil.c b/ir/be/beutil.c index a600ab730..c196ff78d 100644 --- a/ir/be/beutil.c +++ b/ir/be/beutil.c @@ -128,7 +128,9 @@ void dump_allocated_irg(arch_env_t *arch_env, ir_graph *irg, char *suffix) */ static int sched_edge_hook(FILE *F, ir_node *irn) { - if(sched_is_scheduled(irn) && sched_has_prev(irn)) { + if (is_Proj(irn)) + return 1; + if (sched_is_scheduled(irn) && sched_has_prev(irn)) { ir_node *prev = sched_prev(irn); fprintf(F, "edge:{sourcename:\""); PRINT_NODEID(irn);