projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
teeest
[libfirm]
/
ir
/
tr
/
trvrfy.c
diff --git
a/ir/tr/trvrfy.c
b/ir/tr/trvrfy.c
index
33b340a
..
80836c9
100644
(file)
--- a/
ir/tr/trvrfy.c
+++ b/
ir/tr/trvrfy.c
@@
-298,7
+298,7
@@
static int constants_on_wrong_irg(ir_entity *ent) {
if (is_compound_entity(ent)) {
int i;
- for (i =
0; i < get_compound_ent_n_values(ent); i++
) {
+ for (i =
get_compound_ent_n_values(ent) - 1; i >= 0; --i
) {
if (constant_on_wrong_irg(get_compound_ent_value(ent, i)))
return 1;
}