projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
017807f
)
replaced malloc by xmalloc
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 20 Jun 2007 12:44:00 +0000
(12:44 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 20 Jun 2007 12:44:00 +0000
(12:44 +0000)
[r14661]
ir/be/bespilldaemel.c
patch
|
blob
|
history
diff --git
a/ir/be/bespilldaemel.c
b/ir/be/bespilldaemel.c
index
b9459ca
..
09dbee2
100644
(file)
--- a/
ir/be/bespilldaemel.c
+++ b/
ir/be/bespilldaemel.c
@@
-186,7
+186,7
@@
void do_spilling(daemel_env_t *env, ir_nodeset_t *live_nodes, ir_node *node)
return;
DBG((dbg, LEVEL_2, "\tspills needed after %+F: %d\n", node, spills_needed));
- candidates = malloc(node_count * sizeof(candidates[0]));
+ candidates =
x
malloc(node_count * sizeof(candidates[0]));
/* construct array with spill candidates and calculate their costs */
i = 0;