sparc: mostly implement reg+reg address mode
[libfirm] / ir / be / beschedtrivial.c
index f2196d7..5bc61f1 100644 (file)
@@ -50,7 +50,7 @@ static ir_node *trivial_select(void *block_env, ir_nodeset_t *ready_set,
 
        /* assure that branches and constants are executed last */
        foreach_ir_nodeset(ready_set, irn, iter) {
-               if (!arch_irn_class_is(irn, branch)) {
+               if (!is_cfop(irn)) {
                        return irn;
                }
        }
@@ -62,10 +62,10 @@ static ir_node *trivial_select(void *block_env, ir_nodeset_t *ready_set,
        return irn;
 }
 
-static void *trivial_init_graph(const list_sched_selector_t *vtab, const be_irg_t *birg)
+static void *trivial_init_graph(const list_sched_selector_t *vtab, ir_graph *irg)
 {
        (void)vtab;
-       (void)birg;
+       (void)irg;
        return NULL;
 }