backend: put ignore regs into beirg
[libfirm] / ir / be / beschednormal.c
index 7b8003c..22bc29a 100644 (file)
@@ -30,7 +30,7 @@
 #include "belistsched.h"
 #include "belive_t.h"
 #include "beutil.h"
-#include "height.h"
+#include "heights.h"
 #include "irtools.h"
 #include "irgwalk.h"
 #include "benode.h"
@@ -312,7 +312,7 @@ static int root_cmp(const void* a, const void* b)
 static void normal_sched_block(ir_node* block, void* env)
 {
        ir_node**      roots = get_irn_link(block);
-       heights_t*     heights = env;
+       ir_heights_t*  heights = env;
        int            root_count;
        irn_cost_pair* root_costs;
        int i;
@@ -377,11 +377,10 @@ static void normal_sched_block(ir_node* block, void* env)
 
 
 static void *normal_init_graph(const list_sched_selector_t *vtab,
-                               const be_irg_t *birg)
+                               ir_graph *irg)
 {
-       instance_t* inst = XMALLOC(instance_t);
-       ir_graph*   irg = be_get_birg_irg(birg);
-       heights_t*  heights;
+       instance_t   *inst = XMALLOC(instance_t);
+       ir_heights_t *heights;
 
        (void)vtab;
 
@@ -443,7 +442,6 @@ const list_sched_selector_t normal_selector = {
        normal_init_graph,
        normal_init_block,
        normal_select,
-       NULL,              /* to_appear_in_schedule */
        NULL,              /* node_ready */
        NULL,              /* node_selected */
        NULL,              /* exectime */