projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50b2769
)
use edges_assure() where appropriate
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 28 Dec 2007 17:20:02 +0000
(17:20 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 28 Dec 2007 17:20:02 +0000
(17:20 +0000)
[r17079]
ir/ir/irgopt.c
patch
|
blob
|
history
diff --git
a/ir/ir/irgopt.c
b/ir/ir/irgopt.c
index
84493f0
..
9d52e95
100644
(file)
--- a/
ir/ir/irgopt.c
+++ b/
ir/ir/irgopt.c
@@
-182,15
+182,13
@@
static void opt_walker(ir_node *n, void *env) {
/* Applies local optimizations to all nodes in the graph until fixpoint. */
void optimize_graph_df(ir_graph *irg) {
pdeq *waitq = new_pdeq();
- int state = edges_activated(irg);
ir_graph *rem = current_ir_graph;
ir_node *end;
- int i;
+ int i
, state
;
current_ir_graph = irg;
- if (! state)
- edges_activate(irg);
+ state = edges_assure(irg);
if (get_opt_global_cse())
set_irg_pinned(current_ir_graph, op_pin_state_floats);