Reuse already fetched values.
[libfirm] / ir / be / besched.c
index 88d192a..a99113e 100644 (file)
 #include "debug.h"
 
 #include "bemodule.h"
-#include "bearch_t.h"
-#include "besched_t.h"
+#include "bearch.h"
+#include "besched.h"
 #include "beutil.h"
 #include "belistsched.h"
+#include "belive.h"
 
 FIRM_IMPL1(have_sched_info, int, const ir_graph *)
 FIRM_IMPL1(sched_get_time_step, int, const ir_node *)
@@ -104,7 +105,7 @@ void sched_renumber(const ir_node *block)
 int sched_skip_cf_predicator(const ir_node *irn, void *data)
 {
        (void)data;
-       return arch_irn_class_is(irn, branch);
+       return is_cfop(irn);
 }
 
 int sched_skip_phi_predicator(const ir_node *irn, void *data) {