constant type place on the workqueue again (fix ack/test2.c)
- Add debug output when a partition is placed on the workqueue
[r22349]
*/
static INLINE void add_to_worklist(partition_t *X, environment_t *env) {
assert(X->on_worklist == 0);
*/
static INLINE void add_to_worklist(partition_t *X, environment_t *env) {
assert(X->on_worklist == 0);
+ DB((dbg, LEVEL_2, "Adding part%d to worklist\n", X->nr));
X->wl_next = env->worklist;
X->on_worklist = 1;
env->worklist = X;
X->wl_next = env->worklist;
X->on_worklist = 1;
env->worklist = X;
if (old_type_was_T_or_C) {
node_t *y, *tmp;
if (old_type_was_T_or_C) {
node_t *y, *tmp;
- if (Y->on_worklist == 0)
- add_to_worklist(Y, env);
-
/* check if some nodes will make the leader -> follower transition */
list_for_each_entry_safe(node_t, y, tmp, &Y->Leader, node_list) {
if (y->type.tv != tarval_top && ! is_con(y->type)) {
/* check if some nodes will make the leader -> follower transition */
list_for_each_entry_safe(node_t, y, tmp, &Y->Leader, node_list) {
if (y->type.tv != tarval_top && ! is_con(y->type)) {
assure_irg_outs(irg);
assure_cf_loop(irg);
assure_irg_outs(irg);
assure_cf_loop(irg);
/* we have our own value_of function */
set_value_of_func(get_node_tarval);
/* we have our own value_of function */
set_value_of_func(get_node_tarval);