projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not mark the transformed as visited. It makes no sense at all.
[libfirm]
/
ir
/
ir
/
ircgcons.c
diff --git
a/ir/ir/ircgcons.c
b/ir/ir/ircgcons.c
index
f6596d6
..
e3e9d22
100644
(file)
--- a/
ir/ir/ircgcons.c
+++ b/
ir/ir/ircgcons.c
@@
-69,10
+69,9
@@
typedef struct {
ir_node * except, * except_mem; /* EndExcept and Mem for exception return */
} irg_data_t;
ir_node * except, * except_mem; /* EndExcept and Mem for exception return */
} irg_data_t;
-static irg_data_t * irg_data_create(void) {
- irg_data_t *data = xmalloc(sizeof(*data));
- memset(data, 0, sizeof(*data)); /* init */
- return data;
+static irg_data_t * irg_data_create(void)
+{
+ return XMALLOCZ(irg_data_t);
}
/** Count the number of callers of each method and mark open methods.
}
/** Count the number of callers of each method and mark open methods.