projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Comments, beautify
[libfirm]
/
ir
/
be
/
belistsched.c
diff --git
a/ir/be/belistsched.c
b/ir/be/belistsched.c
index
159bd12
..
e36645b
100644
(file)
--- a/
ir/be/belistsched.c
+++ b/
ir/be/belistsched.c
@@
-64,7
+64,7
@@
void list_sched(ir_graph *irg, list_sched_selector_t *selector, void *select_env
compute_outs(irg);
/* Dump the graph. */
compute_outs(irg);
/* Dump the graph. */
- dump_ir_block_graph(irg, "-before-sched");
+
//
dump_ir_block_graph(irg, "-before-sched");
/* Schedule each single block. */
irg_block_walk_graph(irg, list_sched_block, NULL, &env);
/* Schedule each single block. */
irg_block_walk_graph(irg, list_sched_block, NULL, &env);
@@
-200,6
+200,7
@@
static ir_node *add_to_sched(block_sched_env_t *env, ir_node *irn)
if(to_appear_in_schedule(irn)) {
sched_info_t *info = get_irn_sched_info(irn);
INIT_LIST_HEAD(&info->list);
if(to_appear_in_schedule(irn)) {
sched_info_t *info = get_irn_sched_info(irn);
INIT_LIST_HEAD(&info->list);
+ info->time_step = env->curr_time;
sched_add(env->block, irn);
DBG((env->dbg, LEVEL_2, "\tadding %n\n", irn));
sched_add(env->block, irn);
DBG((env->dbg, LEVEL_2, "\tadding %n\n", irn));