makefile updates
[libfirm] / ir / be / mips / mips_scheduler.c
index bd8b468..5ab8ca6 100644 (file)
@@ -34,7 +34,7 @@
 #include "mips_scheduler.h"
 
 #include "../besched_t.h"
-#include "../be.h"
+#include "be.h"
 #include "../beabi.h"
 #include "iredges.h"
 #include "ircons.h"
@@ -204,14 +204,13 @@ static ir_node *mips_scheduler_select(void *block_env, nodeset *ready_set, nodes
 static
 int mips_to_appear_in_schedule(void *block_env, const ir_node *node)
 {
-       ir_fprintf(stderr, "check %+F\n", node);
+       (void) block_env;
+
        if(!is_mips_irn(node))
                return -1;
-
-       if(is_mips_zero(node))
+       if(is_mips_zero(node) || is_mips_Immediate(node))
                return 0;
 
-       ir_fprintf(stderr, "Sched: %+F\n", node);
        return 1;
 }
 
@@ -220,8 +219,10 @@ list_sched_selector_t  mips_selector;
 /**
  * Returns the reg_pressure scheduler with to_appear_in_schedule() overloaded
  */
-const list_sched_selector_t *mips_get_list_sched_selector(const void *self, list_sched_selector_t *selector)
+const list_sched_selector_t *mips_get_list_sched_selector(const void *self,
+               list_sched_selector_t *selector)
 {
+       (void) self;
 #if 0
        memset(&mips_sched_selector, 0, sizeof(mips_sched_selector));
        mips_sched_selector.init_graph = mips_scheduler_init_graph;
@@ -238,6 +239,8 @@ const list_sched_selector_t *mips_get_list_sched_selector(const void *self, list
        return &mips_selector;
 }
 
-const ilp_sched_selector_t *mips_get_ilp_sched_selector(const void *self) {
+const ilp_sched_selector_t *mips_get_ilp_sched_selector(const void *self)
+{
+       (void) self;
        return NULL;
 }