projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d180c3
)
initialize irprog datastructure to zero
author
Götz Lindenmaier
<goetz@ipd.info.uni-karlsruhe.de>
Thu, 22 Jan 2004 15:13:19 +0000
(15:13 +0000)
committer
Götz Lindenmaier
<goetz@ipd.info.uni-karlsruhe.de>
Thu, 22 Jan 2004 15:13:19 +0000
(15:13 +0000)
[r2342]
ir/ir/irprog.c
patch
|
blob
|
history
diff --git
a/ir/ir/irprog.c
b/ir/ir/irprog.c
index
6a891af
..
b0c2b63
100644
(file)
--- a/
ir/ir/irprog.c
+++ b/
ir/ir/irprog.c
@@
-53,6
+53,7
@@
ir_prog *new_ir_prog (void) {
ir_prog *res;
res = (ir_prog *) malloc (sizeof(ir_prog));
+ memset(res, 0, sizeof(res));
irp = res;
/* res->obst = (struct obstack *) xmalloc (sizeof (struct obstack)); */
res->graphs = NEW_ARR_F (ir_graph *, 1);