X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeschedregpress.c;h=93ad72488d8aa3bae9fc5b07c6f2a69a834063bb;hb=59528405f7e6b495a3092ff206e4ca4626869ddc;hp=5f5e659365ff7a894f9e8d6f7112b68b91c079a0;hpb=bb9f2e36362333c6635b89f5258171b06c786608;p=libfirm diff --git a/ir/be/beschedregpress.c b/ir/be/beschedregpress.c index 5f5e65936..93ad72488 100644 --- a/ir/be/beschedregpress.c +++ b/ir/be/beschedregpress.c @@ -32,7 +32,7 @@ #include "irgwalk.h" #include "irtools.h" -#include "besched_t.h" +#include "besched.h" #include "belistsched.h" #include "benode_t.h" @@ -290,7 +290,7 @@ static ir_node *reg_pressure_select(void *block_env, ir_nodeset_t *ready_set, Ignore branch instructions for the time being. They should only be scheduled if there is nothing else. */ - if (!arch_irn_class_is(irn, branch)) { + if (!is_cfop(irn)) { int costs = reg_pr_costs(env, irn); if (costs <= curr_cost) { res = irn;