projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replaced set_irn_n(*, -1, *) and get_irn_n(*, -1) by new get_nodes_block()/set_nodes_...
[libfirm]
/
ir
/
ir
/
irgraph_t.h
diff --git
a/ir/ir/irgraph_t.h
b/ir/ir/irgraph_t.h
index
9bea0ee
..
5a4bec4
100644
(file)
--- a/
ir/ir/irgraph_t.h
+++ b/
ir/ir/irgraph_t.h
@@
-122,6
+122,7
@@
_get_irg_end_block(const ir_graph *irg) {
static INLINE void
_set_irg_end_block(ir_graph *irg, ir_node *node) {
+ /* FIXME: if this line is killed the whole graph collapse, why */
set_irn_n(irg->anchor, -1, node);
set_irn_n(irg->anchor, anchor_end_block, node);
}