projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactored nodes interface, completed set/get attr methods
[libfirm]
/
ir
/
be
/
besched_t.h
diff --git
a/ir/be/besched_t.h
b/ir/be/besched_t.h
index
b739027
..
0d37f86
100644
(file)
--- a/
ir/be/besched_t.h
+++ b/
ir/be/besched_t.h
@@
-205,11
+205,12
@@
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;
}
/**
- * Check, if thenode is scheduled.
+ * Check, if the
node is scheduled.
* @param irn The node.
* @return 1, if the node is scheduled, 0 if not.
*/
* @param irn The node.
* @return 1, if the node is scheduled, 0 if not.
*/