projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4005f32
)
workaround firm problems when current_ir_graph is not set (set_irn_n and maybe other...
author
Matthias Braun
<matze@braunis.de>
Thu, 26 Jul 2007 07:43:09 +0000
(07:43 +0000)
committer
Matthias Braun
<matze@braunis.de>
Thu, 26 Jul 2007 07:43:09 +0000
(07:43 +0000)
[r15357]
ir/opt/tailrec.c
patch
|
blob
|
history
diff --git
a/ir/opt/tailrec.c
b/ir/opt/tailrec.c
index
b3050a9
..
ea75333
100644
(file)
--- a/
ir/opt/tailrec.c
+++ b/
ir/opt/tailrec.c
@@
-413,6
+413,8
@@
void opt_tail_recursion(void) {
for (i = get_irp_n_irgs() - 1; i >= 0; --i) {
irg = get_irp_irg(i);
+ current_ir_graph = irg;
+
if (opt_tail_rec_irg(irg))
++n_opt_applications;
}