projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6674bf8
)
don't cound backwards with size_t variables
author
Matthias Braun
<matze@braunis.de>
Mon, 11 Jun 2007 13:29:09 +0000
(13:29 +0000)
committer
Matthias Braun
<matze@braunis.de>
Mon, 11 Jun 2007 13:29:09 +0000
(13:29 +0000)
[r14405]
ir/be/bespilldaemel.c
patch
|
blob
|
history
diff --git
a/ir/be/bespilldaemel.c
b/ir/be/bespilldaemel.c
index
17acc81
..
fde2d65
100644
(file)
--- a/
ir/be/bespilldaemel.c
+++ b/
ir/be/bespilldaemel.c
@@
-226,7
+226,7
@@
void do_spilling(daemel_env_t *env, ir_nodeset_t *live_nodes, ir_node *node)
/* make sure the node is not an argument of the instruction */
is_use = 0;
- for (i =
arity - 1; i >= 0; --
i) {
+ for (i =
0; i < arity; ++
i) {
ir_node *in = get_irn_n(node, i);
if(in == cand_node) {
is_use = 1;