projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d05f2f5
)
replaced malloc by xmalloc
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 20 Jun 2007 12:45:01 +0000
(12:45 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 20 Jun 2007 12:45:01 +0000
(12:45 +0000)
[r14664]
ir/be/becopyheur3.c
patch
|
blob
|
history
diff --git
a/ir/be/becopyheur3.c
b/ir/be/becopyheur3.c
index
a52ad24
..
d8de8b2
100644
(file)
--- a/
ir/be/becopyheur3.c
+++ b/
ir/be/becopyheur3.c
@@
-148,8
+148,8
@@
int co_solve_heuristic_java(copy_opt_t *co)
}
}
- node_map = malloc((get_irg_last_idx(co->irg) + 1) * sizeof(node_map[0]));
- inv_node_map = malloc((get_irg_last_idx(co->irg) + 1) * sizeof(inv_node_map[0]));
+ node_map =
x
malloc((get_irg_last_idx(co->irg) + 1) * sizeof(node_map[0]));
+ inv_node_map =
x
malloc((get_irg_last_idx(co->irg) + 1) * sizeof(inv_node_map[0]));
curr_idx = 0;
be_ifg_foreach_node(ifg, nodes_it, n) {