projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed perm lowering again
[libfirm]
/
ir
/
be
/
besched.c
diff --git
a/ir/be/besched.c
b/ir/be/besched.c
index
c7571a9
..
add6428
100644
(file)
--- a/
ir/be/besched.c
+++ b/
ir/be/besched.c
@@
-94,7
+94,7
@@
int sched_verify(const ir_node *block)
sched_foreach(block, irn) {
sched_info_t *info = get_irn_sched_info(irn);
save_time_step[i] = info->time_step;
sched_foreach(block, irn) {
sched_info_t *info = get_irn_sched_info(irn);
save_time_step[i] = info->time_step;
- save_nodes[i] = irn;
+ save_nodes[i] =
(ir_node *)
irn;
info->time_step = i;
pset_insert_ptr(scheduled_nodes, irn);
info->time_step = i;
pset_insert_ptr(scheduled_nodes, irn);
@@
-152,7
+152,7
@@
int sched_verify(const ir_node *block)
del_pset(scheduled_nodes);
free(save_time_step);
del_pset(scheduled_nodes);
free(save_time_step);
- free(save_nodes);
+ free(
(void *)
save_nodes);
return res;
}
return res;
}
@@
-170,6
+170,11
@@
int sched_verify_irg(ir_graph *irg)
return res;
}
return res;
}
+int (sched_comes_after)(const ir_node *n1, const ir_node *n2)
+{
+ return _sched_comes_after(n1, n2);
+}
+
int sched_skip_cf_predicator(const ir_node *irn, void *data) {
arch_env_t *ae = data;
return arch_irn_classify(ae, irn) == arch_irn_class_branch;
int sched_skip_cf_predicator(const ir_node *irn, void *data) {
arch_env_t *ae = data;
return arch_irn_classify(ae, irn) == arch_irn_class_branch;