projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added DBG macro calls
[libfirm]
/
ir
/
tr
/
type.c
diff --git
a/ir/tr/type.c
b/ir/tr/type.c
index
e8ba173
..
55cf8c5
100644
(file)
--- a/
ir/tr/type.c
+++ b/
ir/tr/type.c
@@
-103,6
+103,7
@@
new_type(tp_op *type_op, ir_mode *mode, ident* name) {
node_size = offsetof(type, attr) + type_op->attr_size;
res = (type *) xmalloc (node_size);
+ memset((void *)res, 0, node_size);
add_irp_type(res); /* Remember the new type global. */
res->kind = k_type;