summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beutil.c
diff options
context:
space:
mode:
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>2007-06-21 17:35:49 +0200
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>2007-06-21 17:35:49 +0200
commit55437d814f031e648187e51ba6e952907f9a480c (patch)
tree110c6d77f553c5a95eefefcf9444efc89d3b1c91 /ir/be/beutil.c
parent4b0414264181893ca5356dd79d8588026b6479a3 (diff)
SCHEDULE_PROJS patch: Proj nodes are not more scheduled
[r14693]
Diffstat (limited to 'ir/be/beutil.c')
-rw-r--r--ir/be/beutil.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ir/be/beutil.c b/ir/be/beutil.c
index a600ab7..fe26121 100644
--- a/ir/be/beutil.c
+++ b/ir/be/beutil.c
@@ -128,6 +128,10 @@ void dump_allocated_irg(arch_env_t *arch_env, ir_graph *irg, char *suffix)
*/
static int sched_edge_hook(FILE *F, ir_node *irn)
{
+#ifndef SCHEDULE_PROJS
+ if (is_Proj(irn))
+ return 1;
+#endif
if(sched_is_scheduled(irn) && sched_has_prev(irn)) {
ir_node *prev = sched_prev(irn);
fprintf(F, "edge:{sourcename:\"");