projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clarify some node comments
[libfirm]
/
ir
/
opt
/
critical_edges.c
diff --git
a/ir/opt/critical_edges.c
b/ir/opt/critical_edges.c
index
765f032
..
bffa731
100644
(file)
--- a/
ir/opt/critical_edges.c
+++ b/
ir/opt/critical_edges.c
@@
-22,7
+22,6
@@
* @brief Remove critical edges.
* @author Christian Schaefer, Goetz Lindenmaier, Sebastian Felis,
* Michael Beck
* @brief Remove critical edges.
* @author Christian Schaefer, Goetz Lindenmaier, Sebastian Felis,
* Michael Beck
- * @version $Id$
*/
#include "config.h"
*/
#include "config.h"
@@
-105,9
+104,10
@@
void remove_critical_cf_edges_ex(ir_graph *irg, int ignore_exception_edges)
irg_block_walk_graph(irg, NULL, walk_critical_cf_edges, &env);
if (env.changed) {
/* control flow changed */
irg_block_walk_graph(irg, NULL, walk_critical_cf_edges, &env);
if (env.changed) {
/* control flow changed */
- set_irg_extblk_inconsistent(irg);
-
set_irg_doms_inconsistent(irg
);
+ clear_irg_state(irg, IR_GRAPH_STATE_CONSISTENT_DOMINANCE
+
| IR_GRAPH_STATE_VALID_EXTENDED_BLOCKS
);
}
}
+ set_irg_state(irg, IR_GRAPH_STATE_NO_CRITICAL_EDGES);
}
void remove_critical_cf_edges(ir_graph *irg)
}
void remove_critical_cf_edges(ir_graph *irg)