projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Do not allocate backend info for Projs. Their tuple hold all info and asking the...
[libfirm]
/
ir
/
be
/
beinfo.c
diff --git
a/ir/be/beinfo.c
b/ir/be/beinfo.c
index
d27aaea
..
8c31ef2
100644
(file)
--- 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;