From 63ce13a4843980a550e6c24c7ee24a02af12ccee Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20W=C3=BCrdig?= Date: Mon, 20 Mar 2006 16:58:50 +0000 Subject: [PATCH] removed c99 style [r7496] --- ir/ana/callgraph.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ir/ana/callgraph.c b/ir/ana/callgraph.c index 64336cf22..8e6891e0a 100644 --- a/ir/ana/callgraph.c +++ b/ir/ana/callgraph.c @@ -192,10 +192,12 @@ static void ana_Call(ir_node *n, void *env) { ir_graph *callee = get_entity_irg(callee_e); if (callee) { - ana_entry buf = { callee, NULL, 0}; + ana_entry buf = { NULL, NULL, 0}; ana_entry *found; int depth; + buf.irg = callee; + pset_insert((pset *)callee->callers, irg, HASH_PTR(irg)); found = pset_find((pset *)irg->callees, &buf, HASH_PTR(callee)); if (found) { /* add Call node to list, compute new nesting. */ -- 2.20.1