rewritten be_ssa_constr which isn't using sets anymore, started working on a 'state...
[libfirm] / ir / be / mips / mips_scheduler.c
index 8ec6fb3..154d266 100644 (file)
@@ -1,8 +1,7 @@
 /* Mips implementation of list scheduler selector */
 /* $Id$ */
-
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif
 
 #ifdef HAVE_STDLIB_H
@@ -36,6 +35,9 @@ typedef struct {
        ir_node* last_nop;
 } mips_sched_env_t;
 
+/* Matze: deprecated and totally broken */
+#if 0
+
 static void *mips_scheduler_init_graph(const list_sched_selector_t *vtab, const arch_env_t *arch_env, ir_graph *irg)
 {
        mips_sched_env_t *sched_env = xmalloc(sizeof(sched_env[0]));
@@ -174,6 +176,8 @@ static ir_node *mips_scheduler_select(void *block_env, nodeset *ready_set, nodes
        return node;
 }
 
+#endif
+
 /**
  * Returns the reg_pressure scheduler with to_appear_in_schedule() overloaded
  */
@@ -187,7 +191,11 @@ const list_sched_selector_t *mips_get_list_sched_selector(const void *self, list
        mips_sched_selector.to_appear_in_schedule = mips_scheduler_to_appear_in_schedule;
        mips_sched_selector.finish_block = mips_scheduler_finish_block;
        mips_sched_selector.finish_graph = mips_scheduler_finish_graph;
-       return &mips_sched_selector;
+       //return &mips_sched_selector;
 #endif
        return selector;
 }
+
+const ilp_sched_selector_t *mips_get_ilp_sched_selector(const void *self) {
+       return NULL;
+}