projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
798d009
)
Deactivate edges before freeing an irg.
author
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Thu, 31 Jul 2008 21:33:59 +0000
(21:33 +0000)
committer
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Thu, 31 Jul 2008 21:33:59 +0000
(21:33 +0000)
[r20869]
ir/ir/irgraph.c
patch
|
blob
|
history
diff --git
a/ir/ir/irgraph.c
b/ir/ir/irgraph.c
index
9f93e14
..
f845476
100644
(file)
--- a/
ir/ir/irgraph.c
+++ b/
ir/ir/irgraph.c
@@
-529,6
+529,8
@@
ir_graph *create_irg_copy(ir_graph *irg) {
void free_ir_graph(ir_graph *irg) {
assert(is_ir_graph(irg));
+ edges_deactivate(irg);
+
hook_free_graph(irg);
if (irg->outs_state != outs_none)
free_irg_outs(irg);