From: Christoph Mallon Date: Mon, 6 Oct 2008 06:58:25 +0000 (+0000) Subject: Do not fetch a node index if we have a perfectly fine pointer already at hand. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=b3b7cacd85e6ac3ff0c7c6e223ce95e46eadb569;p=libfirm Do not fetch a node index if we have a perfectly fine pointer already at hand. [r22509] --- diff --git a/heuristical.c b/heuristical.c index f2c77f346..7605ffb58 100644 --- a/heuristical.c +++ b/heuristical.c @@ -288,7 +288,7 @@ void solve_pbqp_heuristical(pbqp *pbqp) pbqp_edge *edge = edges[edge_index]; /* Simplify only once per edge. */ - if (node_index != edge->src->index) continue; + if (node != edge->src) continue; simplify_edge(pbqp, edge); }