projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more debug info
[libfirm]
/
ir
/
opt
/
ldst2.c
diff --git
a/ir/opt/ldst2.c
b/ir/opt/ldst2.c
index
845c665
..
1bb87df
100644
(file)
--- a/
ir/opt/ldst2.c
+++ b/
ir/opt/ldst2.c
@@
-525,7
+525,7
@@
static void Detotalise(ir_graph* irg)
size_t npreds = get_Block_n_cfgpreds(end_block);
size_t i;
- unfinished_phis =
xmalloc(sizeof(*unfinished_phis) *
count_addrs);
+ unfinished_phis =
XMALLOCN(ir_node,
count_addrs);
for (i = 0; i < count_addrs; i++) {
unfinished_phis[i] = NULL;
}