projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
attempt to fix compound_graph stuff
[libfirm]
/
ir
/
stat
/
stat_liveness.c
diff --git
a/ir/stat/stat_liveness.c
b/ir/stat/stat_liveness.c
index
e98b515
..
0ea833f
100644
(file)
--- a/
ir/stat/stat_liveness.c
+++ b/
ir/stat/stat_liveness.c
@@
-56,7
+56,7
@@
static block_entry_t *get_block_entry(ir_node *block) {
block_entry_t *entry = get_irn_link(block);
if (entry == NULL) {
block_entry_t *entry = get_irn_link(block);
if (entry == NULL) {
- entry =
obstack_alloc(&env->obst, sizeof(*entry)
);
+ entry =
OALLOC(&env->obst, block_entry_t
);
entry->live_ins = NEW_ARR_F(ir_node *, 0);
entry->live_outs = NEW_ARR_F(ir_node *, 0);
entry->live_ins = NEW_ARR_F(ir_node *, 0);
entry->live_outs = NEW_ARR_F(ir_node *, 0);