initialize backend opcode right after frontend opcodes
[libfirm] / ir / be / bemain.c
index c857502..5527ec1 100644 (file)
@@ -348,9 +348,11 @@ static const backend_params be_params = {
        NULL, /* but yet no creator function */
        NULL, /* context for create_intrinsic_fkt */
        NULL, /* no if conversion settings */
+       NULL, /* no float arithmetic mode */
        0,    /* no trampoline support: size 0 */
        0,    /* no trampoline support: align 0 */
-       NULL  /* no trampoline support: no trampoline builder */
+       NULL, /* no trampoline support: no trampoline builder */
+       4     /* alignment of stack parameter */
 };
 
 /* Perform schedule verification if requested. */
@@ -924,8 +926,6 @@ void be_main(FILE *file_handle, const char *cup_name)
        /* never build code for pseudo irgs */
        set_visit_pseudo_irgs(0);
 
-       be_node_init();
-
        be_main_loop(file_handle, cup_name);
 
        if (be_options.timing == BE_TIME_ON) {