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:
816e7e0
)
BugFix: - there is only ONE proj_m to replace
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 10 Apr 2008 09:54:16 +0000
(09:54 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 10 Apr 2008 09:54:16 +0000
(09:54 +0000)
[r19208]
ir/opt/tailrec.c
patch
|
blob
|
history
diff --git
a/ir/opt/tailrec.c
b/ir/opt/tailrec.c
index
a5e4938
..
11e9088
100644
(file)
--- a/
ir/opt/tailrec.c
+++ b/
ir/opt/tailrec.c
@@
-263,10
+263,7
@@
static void do_opt_tail_rec(ir_graph *irg, tr_env *env) {
* ok, we are here, so we have build and collected all needed Phi's
* now exchange all Projs into links to Phi
*/
- for (p = data.proj_m; p; p = n) {
- n = get_irn_link(p);
- exchange(p, phis[0]);
- }
+ exchange(data.proj_m, phis[0]);
for (p = data.proj_data; p; p = n) {
long proj = get_Proj_proj(p);