projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no need to keep $ in a file
[libfirm]
/
ir
/
opt
/
ldstopt.c
diff --git
a/ir/opt/ldstopt.c
b/ir/opt/ldstopt.c
index
7ac484a
..
782598f
100644
(file)
--- a/
ir/opt/ldstopt.c
+++ b/
ir/opt/ldstopt.c
@@
-1882,7
+1882,7
@@
static void move_loads_out_of_loops(scc *pscc, loop_env *env)
/* only Phis and pure Calls are allowed here, so ignore them */
}
if (other == NULL) {
/* only Phis and pure Calls are allowed here, so ignore them */
}
if (other == NULL) {
- ldst_info_t *ninfo;
+ ldst_info_t *ninfo
= NULL
;
phi_entry *pe;
dbg_info *db;
phi_entry *pe;
dbg_info *db;
@@
-2231,13
+2231,13
@@
static int optimize_loops(ir_graph *irg)
env.nextDFSnum = 0;
env.POnum = 0;
env.changes = 0;
env.nextDFSnum = 0;
env.POnum = 0;
env.changes = 0;
- phase_init(&env.ph,
"ldstopt", irg, PHASE_DEFAULT_GROWTH, init_loop_data, NULL
);
+ phase_init(&env.ph,
irg, init_loop_data
);
/* calculate the SCC's and drive loop optimization. */
do_dfs(irg, &env);
DEL_ARR_F(env.stack);
/* calculate the SCC's and drive loop optimization. */
do_dfs(irg, &env);
DEL_ARR_F(env.stack);
- phase_
free
(&env.ph);
+ phase_
deinit
(&env.ph);
return env.changes;
} /* optimize_loops */
return env.changes;
} /* optimize_loops */