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:
37acf12
)
add inconsistency flags
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 8 Jun 2004 15:58:37 +0000
(15:58 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 8 Jun 2004 15:58:37 +0000
(15:58 +0000)
[r3037]
ir/opt/tailrec.c
patch
|
blob
|
history
diff --git
a/ir/opt/tailrec.c
b/ir/opt/tailrec.c
index
8b95a17
..
70b9ba2
100644
(file)
--- a/
ir/opt/tailrec.c
+++ b/
ir/opt/tailrec.c
@@
-121,6
+121,15
@@
static void do_opt_tail_rec(ir_graph *irg, ir_node *rets, int n_tail_calls)
assert(n_tail_calls);
assert(n_tail_calls);
+ /* we add nwe nodes, so the outs are inconsistant */
+ set_irg_outs_inconsistent(irg);
+
+ /* we add new blocks and change the control flow */
+ set_irg_dom_inconsistent(irg);
+
+ /* we add a new loop */
+ set_irg_loopinfo_inconsistent(irg);
+
set_optimize(0);
/* collect needed data */
set_optimize(0);
/* collect needed data */