projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f58b7b5
)
BugFix: index error fixed
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 24 Mar 2005 16:37:55 +0000
(16:37 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 24 Mar 2005 16:37:55 +0000
(16:37 +0000)
[r5473]
ir/opt/return.c
patch
|
blob
|
history
diff --git
a/ir/opt/return.c
b/ir/opt/return.c
index
ad66d18
..
02390b3
100644
(file)
--- a/
ir/opt/return.c
+++ b/
ir/opt/return.c
@@
-94,12
+94,12
@@
void normalize_one_return(ir_graph *irg)
/* save the return values and shuffle them */
for (k = 0; k < n_ret_vals; ++k)
/* save the return values and shuffle them */
for (k = 0; k < n_ret_vals; ++k)
- retvals[j + k*n_ret_vals] = get_irn_n(ret, k);
-
- ++j;
+ retvals[j + k*n_rets] = get_irn_n(ret, k);
set_Block_cfgpred(endbl, i, new_r_Bad(irg));
last_idx = i;
set_Block_cfgpred(endbl, i, new_r_Bad(irg));
last_idx = i;
+
+ ++j;
}
}
}
}