Remove the unused parameter const arch_env_t *env from arch_get_register_req().
[libfirm] / ir / be / belistsched.c
index 8d2d599..5e98db6 100644 (file)
@@ -90,7 +90,7 @@ typedef struct _list_sched_options_t {
 } list_sched_options_t;
 
 static list_sched_options_t list_sched_options = {
-       BE_SCHED_SELECT_HEUR,     /* mueller heuristic selector */
+       BE_SCHED_SELECT_NORMAL,   /* mueller heuristic selector */
        BE_SCHED_PREP_NONE,       /* no scheduling preparation */
 };
 
@@ -229,7 +229,7 @@ static INLINE int make_ready(block_sched_env_t *env, ir_node *pred, ir_node *irn
 
                /* if irn is an End we have keep-alives and op might be a block, skip that */
                if (is_Block(op)) {
-                       assert(get_irn_op(irn) == op_End);
+                       assert(is_End(irn));
                        continue;
                }
 
@@ -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
@@ -519,8 +516,6 @@ static void list_sched_block(ir_node *block, void *env_ptr)
        /* Iterate over all remaining nodes */
        while (ir_nodeset_size(&be.cands) > 0) {
                ir_nodeset_iterator_t iter;
-               /* collect statistics about amount of ready nodes */
-               be_do_stat_sched_ready(block, &be.cands);
 
                /* Keeps must be scheduled immediately */
                foreach_ir_nodeset(&be.cands, irn, iter) {