renamed SubSP to SubSPandCopy, add some constants
[libfirm] / ir / be / bespill.c
index 0cef0af..6a2e72a 100644 (file)
@@ -162,8 +162,8 @@ spill_env_t *be_new_spill_env(be_irg_t *birg)
        env->birg           = birg;
        env->arch_env       = arch_env;
        ir_nodeset_init(&env->mem_phis);
-       env->spill_cost     = arch_env->isa->spill_cost;
-       env->reload_cost    = arch_env->isa->reload_cost;
+       env->spill_cost     = arch_env->spill_cost;
+       env->reload_cost    = arch_env->reload_cost;
        env->exec_freq      = be_get_birg_exec_freq(birg);
        obstack_init(&env->obst);
 
@@ -439,7 +439,7 @@ static void spill_irn(spill_env_t *env, spill_info_t *spillinfo)
                return;
        }
 
-       DBG((dbg, LEVEL_1, "spilling %+F ... ", to_spill));
+       DBG((dbg, LEVEL_1, "spilling %+F ... \n", to_spill));
        spill = spillinfo->spills;
        for( ; spill != NULL; spill = spill->next) {
                ir_node *block  = get_block(spill->before);