projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8aa62c
)
Fixed bug with double deactivate
author
Sebastian Hack
<hack@ipd.info.uni-karlsruhe.de>
Fri, 1 Jul 2005 11:42:22 +0000
(11:42 +0000)
committer
Sebastian Hack
<hack@ipd.info.uni-karlsruhe.de>
Fri, 1 Jul 2005 11:42:22 +0000
(11:42 +0000)
[r6167]
ir/ir/iredges.c
patch
|
blob
|
history
diff --git
a/ir/ir/iredges.c
b/ir/ir/iredges.c
index
2a7395c
..
51a3932
100644
(file)
--- a/
ir/ir/iredges.c
+++ b/
ir/ir/iredges.c
@@
-248,8
+248,10
@@
void edges_deactivate(ir_graph *irg)
irg_edge_info_t *info = _get_irg_edge_info(irg);
info->activated = 0;
- if(info->edges)
+ if(info->edges)
{
del_set(info->edges);
+ info->edges = NULL;
+ }
}
int (edges_activated)(const ir_graph *irg)