projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bcc99c
)
Do not fetch a node index if we have a perfectly fine pointer already at hand.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 6 Oct 2008 06:58:25 +0000
(06:58 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 6 Oct 2008 06:58:25 +0000
(06:58 +0000)
[r22509]
heuristical.c
patch
|
blob
|
history
diff --git
a/heuristical.c
b/heuristical.c
index
f2c77f3
..
7605ffb
100644
(file)
--- 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);
}