projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
46d5d1c
)
fix bad XMALLOC call
author
Matthias Braun
<matze@braunis.de>
Sat, 11 Oct 2008 15:10:23 +0000
(15:10 +0000)
committer
Matthias Braun
<matze@braunis.de>
Sat, 11 Oct 2008 15:10:23 +0000
(15:10 +0000)
[r22675]
ir/be/becopyheur3.c
patch
|
blob
|
history
diff --git
a/ir/be/becopyheur3.c
b/ir/be/becopyheur3.c
index
7d490e1
..
33b75fb
100644
(file)
--- a/
ir/be/becopyheur3.c
+++ b/
ir/be/becopyheur3.c
@@
-150,8
+150,8
@@
int co_solve_heuristic_java(copy_opt_t *co)
}
}
- node_map = XMALLOC(int, get_irg_last_idx(co->irg) + 1);
- inv_node_map = XMALLOC(int, get_irg_last_idx(co->irg) + 1);
+ node_map = XMALLOC
N
(int, get_irg_last_idx(co->irg) + 1);
+ inv_node_map = XMALLOC
N
(int, get_irg_last_idx(co->irg) + 1);
curr_idx = 0;
be_ifg_foreach_node(ifg, nodes_it, n) {