Added getter for non address mode heuristic.
[libfirm] / ir / be / bechordal_main.c
index 7524af1..95f8de3 100644 (file)
@@ -394,8 +394,7 @@ static void post_spill(post_spill_env_t *pse, int iteration) {
                if (chordal_env->opts->vrfy_option == BE_CH_VRFY_WARN) {
                        be_verify_schedule(birg);
                        be_verify_register_pressure(birg, pse->cls, irg);
-               }
-               else if (chordal_env->opts->vrfy_option == BE_CH_VRFY_ASSERT) {
+               } else if (chordal_env->opts->vrfy_option == BE_CH_VRFY_ASSERT) {
                        assert(be_verify_schedule(birg) && "Schedule verification failed");
                        assert(be_verify_register_pressure(birg, pse->cls, irg)
                                && "Register pressure verification failed");
@@ -533,7 +532,7 @@ static void be_ra_chordal_main(be_irg_t *birg)
        } else {
                post_spill_env_t *pse;
 
-               /* the backend has it's own spiller */
+               /* the backend has its own spiller */
                m = arch_env_get_n_reg_class(arch_env);
 
                pse = alloca(m * sizeof(pse[0]));
@@ -571,8 +570,6 @@ static void be_ra_chordal_main(be_irg_t *birg)
        stat_ev_if {
                be_stat_ev("insns_after", count_insns(irg));
        }
-
-       return;
 }
 
 static be_ra_t be_ra_chordal_allocator = {