X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Fcallgraph.c;h=6b5c6dd1d351b655a4f1f5111a3bfd6e1c734592;hb=6f068af98daa4725d60e5d23a8f98ec2841cfa44;hp=2c56420fa6800bad708ba04bc65363b3dc78e9f8;hpb=04569019f10d7a80fa4e9c3558f3c6326e13ef9b;p=libfirm diff --git a/ir/ana/callgraph.c b/ir/ana/callgraph.c index 2c56420fa..6b5c6dd1d 100644 --- a/ir/ana/callgraph.c +++ b/ir/ana/callgraph.c @@ -83,7 +83,7 @@ int is_irg_caller_backedge(const ir_graph *irg, size_t pos) return irg->caller_isbe != NULL ? rbitset_is_set(irg->caller_isbe, pos) : 0; } -/** Search the caller in the list of all callers and set it's backedge property. */ +/** Search the caller in the list of all callers and set its backedge property. */ static void set_irg_caller_backedge(ir_graph *irg, const ir_graph *caller) { size_t i, n_callers = get_irg_n_callers(irg); @@ -121,7 +121,6 @@ static size_t reverse_pos(const ir_graph *callee, size_t pos_caller) { ir_graph *caller = get_irg_caller(callee, pos_caller); /* search the other relation for the corresponding edge. */ - int pos_callee = -1; size_t i, n_callees = get_irg_n_callees(caller); for (i = 0; i < n_callees; ++i) { if (get_irg_callee(caller, i) == callee) { @@ -251,7 +250,7 @@ static void ana_Call(ir_node *n, void *env) if (callee) { cg_callee_entry buf; cg_callee_entry *found; - int depth; + unsigned depth; buf.irg = callee;