New setcc framework can handle all mux_is_abs(..., Const, Const) using set and up...
[libfirm] / ir / be / bespillutil.c
index 1b19fcc..2216119 100644 (file)
@@ -52,7 +52,7 @@
 #include "bespill.h"
 #include "bespillutil.h"
 #include "belive_t.h"
-#include "benode_t.h"
+#include "benode.h"
 #include "bechordal_t.h"
 #include "bestatevent.h"
 #include "bessaconstr.h"
@@ -324,7 +324,7 @@ static ir_node *skip_keeps_phis(ir_node *node)
 {
        while(true) {
                ir_node *next = sched_next(node);
-               if(!is_Phi(next) && !be_is_Keep(next))
+               if(!is_Phi(next) && !be_is_Keep(next) && !be_is_CopyKeep(next))
                        break;
                node = next;
        }
@@ -879,7 +879,7 @@ void be_insert_spills_reloads(spill_env_t *env)
        ir_nodeset_iterator_t  iter;
        ir_node               *node;
 
-       BE_TIMER_PUSH(t_ra_spill_apply);
+       be_timer_push(T_RA_SPILL_APPLY);
 
        /* create all phi-ms first, this is needed so, that phis, hanging on
           spilled phis work correctly */
@@ -1050,7 +1050,7 @@ void be_insert_spills_reloads(spill_env_t *env)
 
        be_remove_dead_nodes_from_schedule(env->birg);
 
-       BE_TIMER_POP(t_ra_spill_apply);
+       be_timer_pop(T_RA_SPILL_APPLY);
 }
 
 void be_init_spill(void)