Commit c5fdb122 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Remove last remaining SCHEDULE_PROJS.

[r20785]
parent 36eef11d
......@@ -486,9 +486,6 @@ static void list_sched_block(ir_node *block, void *env_ptr)
else if (irn == start_node) {
/* The start block will be scheduled as the first node */
add_to_sched(&be, irn);
#ifdef SCHEDULE_PROJS
add_tuple_projs(&be, irn);
#endif
}
else {
/* Other nodes must have all operands in other blocks to be made
......
......@@ -269,11 +269,7 @@ static INLINE void _sched_reset(const ir_node *node)
*/
static INLINE void _sched_remove(const ir_node *irn)
{
sched_info_t *info;
#ifndef SCHEDULE_PROJ
assert(!is_Proj(irn));
#endif
info = get_irn_sched_info(irn);
sched_info_t *info = get_irn_sched_info(irn);
list_del(&info->list);
INIT_LIST_HEAD(&info->list);
info->scheduled = 0;
......
......@@ -291,22 +291,13 @@ static int should_be_scheduled(be_verify_schedule_env_t *env, ir_node *node) {
if(is_Block(node))
return -1;
if(is_Proj(node))
return 0;
if(get_irn_mode(node) == mode_M) {
if(is_Proj(node))
return 0;
if(is_Phi(node) || is_Sync(node) || is_Pin(node))
return 0;
}
#ifdef SCHEDULE_PROJS
if(is_Proj(node)) {
if(get_irn_mode(node) == mode_X)
return 0;
return should_be_scheduled(env, get_Proj_pred(node));
}
#else
if(is_Proj(node))
return 0;
#endif
if(be_is_Keep(node) && get_irn_opcode(get_nodes_block(node)) == iro_Bad)
return 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment