projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
get_irn_n_edges: out_count still broken, switched back to recalculation
[libfirm]
/
ir
/
ir
/
irgmod.c
diff --git
a/ir/ir/irgmod.c
b/ir/ir/irgmod.c
index
6a3b4eb
..
47abfa3
100644
(file)
--- a/
ir/ir/irgmod.c
+++ b/
ir/ir/irgmod.c
@@
-62,6
+62,8
@@
exchange (ir_node *old, ir_node *nw)
*/
if (edges_activated(current_ir_graph)) {
edges_reroute(old, nw, current_ir_graph);
+ edges_node_deleted(old, current_ir_graph);
+ old->op = op_Bad;
}
else {
/* Else, do it the old-fashioned way. */