From aa936e5cabd585c8bfa7e63cfbf4723ab70da4fa Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Fri, 14 Aug 2009 18:13:07 +0000 Subject: [PATCH] Do not allocate backend info for Projs. Their tuple hold all info and asking the Projs is plain wrong. [r26337] --- ir/be/beinfo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ir/be/beinfo.c b/ir/be/beinfo.c index d27aaea58..8c31ef201 100644 --- a/ir/be/beinfo.c +++ b/ir/be/beinfo.c @@ -44,6 +44,9 @@ void be_info_new_node(ir_node *node) if (is_Anchor(node)) return; + if (is_Proj(node)) // Projs need no be info, their tuple holds all information + return; + obst = get_irg_obstack(current_ir_graph); info = obstack_alloc(obst, sizeof(*info)); sinfo = &info->sched_info; -- 2.20.1