projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Changed keep logic: all nodes can be keeped yet, thi is necessary to fix fehler152
[libfirm]
/
ir
/
ir
/
irgraph.c
diff --git
a/ir/ir/irgraph.c
b/ir/ir/irgraph.c
index
0f0526a
..
81d2de5
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! */
}
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:
}
/* Allocates a list of nodes: