projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c24754
)
hook_dead_node_elim_start() and hook_dead_node_elim_end() replaced by hook_dead_node_...
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 21 Oct 2005 10:59:38 +0000
(10:59 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 21 Oct 2005 10:59:38 +0000
(10:59 +0000)
[r6768]
ir/ir/irgopt.c
patch
|
blob
|
history
diff --git
a/ir/ir/irgopt.c
b/ir/ir/irgopt.c
index
560d47e
..
a4f7651
100644
(file)
--- a/
ir/ir/irgopt.c
+++ b/
ir/ir/irgopt.c
@@
-522,7
+522,7
@@
dead_node_elimination(ir_graph *irg) {
edges_init_graph(irg);
/* inform statistics that we started a dead-node elimination run */
- hook_dead_node_elim
_start(irg
);
+ hook_dead_node_elim
(irg, 1
);
/* Remember external state of current_ir_graph. */
rem = current_ir_graph;
@@
-561,7
+561,7
@@
dead_node_elimination(ir_graph *irg) {
}
/* inform statistics that the run is over */
- hook_dead_node_elim
_stop(irg
);
+ hook_dead_node_elim
(irg, 0
);
current_ir_graph = rem;
set_interprocedural_view(rem_ipview);