adapted to new code generator callback (spill)
[libfirm] / ir / be / arm / bearch_arm.c
index 78ccaad..48334f4 100644 (file)
@@ -28,6 +28,7 @@
 #include "../be.h"
 #include "../beabi.h"
 #include "../bemachine.h"
+#include "../beilpsched.h"
 
 #include "bearch_arm_t.h"
 
@@ -542,6 +543,7 @@ static const arch_code_generator_if_t arm_code_gen_if = {
        arm_cg_init,
        arm_before_abi,     /* before abi introduce */
        arm_prepare_graph,
+       NULL,               /* spill */
        arm_before_sched,   /* before scheduling hook */
        arm_before_ra,      /* before register allocation hook */
        NULL,               /* after register allocation */
@@ -1067,6 +1069,10 @@ static const list_sched_selector_t *arm_get_list_sched_selector(const void *self
        return &arm_sched_selector;
 }
 
+static const ilp_sched_selector_t *arm_get_ilp_sched_selector(const void *self) {
+       return NULL;
+}
+
 /**
  * Returns the necessary byte alignment for storing a register of given class.
  */
@@ -1159,6 +1165,7 @@ const arch_isa_if_t arm_isa_if = {
        arm_get_irn_handler,
        arm_get_code_generator_if,
        arm_get_list_sched_selector,
+       arm_get_ilp_sched_selector,
        arm_get_reg_class_alignment,
        arm_get_libfirm_params,
        arm_get_allowed_execution_units,