From: Christoph Mallon Date: Fri, 14 Aug 2009 18:13:07 +0000 (+0000) Subject: Do not allocate backend info for Projs. Their tuple hold all info and asking the... X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=aa936e5cabd585c8bfa7e63cfbf4723ab70da4fa;p=libfirm Do not allocate backend info for Projs. Their tuple hold all info and asking the Projs is plain wrong. [r26337] --- 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;