projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85dc99d
)
use xmalloc instead of malloc
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 6 Jun 2006 12:07:45 +0000
(12:07 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 6 Jun 2006 12:07:45 +0000
(12:07 +0000)
ir/be/becopyheur2.c
patch
|
blob
|
history
diff --git
a/ir/be/becopyheur2.c
b/ir/be/becopyheur2.c
index
b6e58c0
..
e7fbd63
100644
(file)
--- a/
ir/be/becopyheur2.c
+++ b/
ir/be/becopyheur2.c
@@
-859,7
+859,7
@@
static void process_cloud(co2_cloud_t *cloud)
co2_t *env = cloud->env;
int n_regs = env->n_regs;
int n_edges = 0;
- int *mst_edges = malloc(cloud->n_memb * cloud->n_memb * sizeof(mst_edges[0]));
+ int *mst_edges =
x
malloc(cloud->n_memb * cloud->n_memb * sizeof(mst_edges[0]));
pdeq *q;
struct list_head changed;