From: Michael Beck Date: Tue, 12 Jan 2010 23:02:56 +0000 (+0000) Subject: BugFix: the name o for the NEW NODE was a little bit misleading ... X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=cc9831d8dbcdd84f2a270c0c23134dd1745e9392;p=libfirm BugFix: the name o for the NEW NODE was a little bit misleading ... [r26955] --- diff --git a/ir/ir/iropt.c b/ir/ir/iropt.c index 29d19901a..5f4c08f3c 100644 --- a/ir/ir/iropt.c +++ b/ir/ir/iropt.c @@ -6358,22 +6358,22 @@ static void update_known_irn(ir_node *known_irn, const ir_node *new_ir_node) { * node could be found */ ir_node *identify_remember(pset *value_table, ir_node *n) { - ir_node *o = NULL; + ir_node *nn = NULL; if (!value_table) return n; ir_normalize_node(n); /* lookup or insert in hash table with given hash key. */ - o = pset_insert(value_table, n, ir_node_hash(n)); + nn = pset_insert(value_table, n, ir_node_hash(n)); - if (o != n) { - update_known_irn(o, n); + if (nn != n) { + update_known_irn(nn, n); /* n is reachable again */ - edges_node_revival(n, get_irn_irg(n)); + edges_node_revival(nn, get_irn_irg(nn)); } - return o; + return nn; } /* identify_remember */ /**