projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ad585e
)
- clear the descriptions if SSA construction is restarted
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 15 Aug 2008 20:04:21 +0000
(20:04 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 15 Aug 2008 20:04:21 +0000
(20:04 +0000)
[r21207]
ir/ir/irgraph.c
patch
|
blob
|
history
diff --git
a/ir/ir/irgraph.c
b/ir/ir/irgraph.c
index
0f0526a
..
0c5b735
100644
(file)
--- a/
ir/ir/irgraph.c
+++ b/
ir/ir/irgraph.c
@@
-166,6
+166,10
@@
void irg_set_nloc(ir_graph *res, int n_loc) {
the store. This is not the number of parameters
to the procedure! */
}
+ if (res->loc_descriptions) {
+ xfree(res->loc_descriptions);
+ }
+ res->loc_descriptions = NULL;
}
/* Allocates a list of nodes: