projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Slightly reduce code duplication.
[libfirm]
/
ir
/
ana
/
callgraph.c
diff --git
a/ir/ana/callgraph.c
b/ir/ana/callgraph.c
index
ffef4d0
..
e0a2431
100644
(file)
--- a/
ir/ana/callgraph.c
+++ b/
ir/ana/callgraph.c
@@
-567,7
+567,7
@@
static INLINE void pop_scc_to_loop(ir_graph *irg) {
m = pop();
loop_node_cnt++;
set_irg_dfn(m, loop_node_cnt);
- add_loop_
node(current_loop, (ir_node *)
m);
+ add_loop_
irg(current_loop,
m);
m->l = current_loop;
//m->callgraph_loop_depth = current_loop->depth;
} while(m != irg);