projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added dump after ssa destr completed
[libfirm]
/
ir
/
be
/
besched_t.h
diff --git
a/ir/be/besched_t.h
b/ir/be/besched_t.h
index
d4ae355
..
dc92b7e
100644
(file)
--- a/
ir/be/besched_t.h
+++ b/
ir/be/besched_t.h
@@
-55,8
+55,6
@@
static INLINE int _sched_get_time_step(const ir_node *irn)
*/
static INLINE int to_appear_in_schedule(ir_node *irn)
{
*/
static INLINE int to_appear_in_schedule(ir_node *irn)
{
- int i, n;
-
if(get_irn_opcode(irn) == iro_Start)
return 1;
if(get_irn_opcode(irn) == iro_Start)
return 1;
@@
-207,6
+205,7
@@
static INLINE void _sched_remove(ir_node *irn)
{
sched_info_t *info = get_irn_sched_info(irn);
list_del(&info->list);
{
sched_info_t *info = get_irn_sched_info(irn);
list_del(&info->list);
+ INIT_LIST_HEAD(&info->list);
info->scheduled = 0;
}
info->scheduled = 0;
}