- placed phi_handler into the be_main environment, removing unnecessary allocations
[libfirm] / ir / be / TEMPLATE / bearch_TEMPLATE.c
index 633115f..7aa0ace 100644 (file)
@@ -321,6 +321,7 @@ static void *TEMPLATE_cg_init(be_irg_t *birg);
 
 static const arch_code_generator_if_t TEMPLATE_code_gen_if = {
        TEMPLATE_cg_init,
+       NULL,                    /* get_pic_base hook */
        NULL,                    /* before abi introduce hook */
        TEMPLATE_prepare_graph,
        NULL,                    /* spill hook */
@@ -372,6 +373,7 @@ static TEMPLATE_isa_t TEMPLATE_isa_template = {
                &TEMPLATE_general_purpose_regs[REG_SP],  /* stack pointer register */
                &TEMPLATE_general_purpose_regs[REG_BP],  /* base pointer register */
                -1,                          /* stack direction */
+               1,                           /* stack alignment for calls */
                NULL,                        /* main environment */
                7,                           /* costs for a spill instruction */
                5,                           /* costs for a reload instruction */