X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=inline;f=ir%2Fbe%2Fbecopyheur4.c;h=bac5a04bc20360b544d886ab32fc7563b56e9a4a;hb=0e4318adc38a54110c1b1f7f1d5edc0ee2c78170;hp=b7e873d551b0a91a8d0a5f5c092b0736d7aeb522;hpb=0df5e0ea5d4d6a566339ac4b93a73719858e81e1;p=libfirm diff --git a/ir/be/becopyheur4.c b/ir/be/becopyheur4.c index b7e873d55..bac5a04bc 100644 --- a/ir/be/becopyheur4.c +++ b/ir/be/becopyheur4.c @@ -82,7 +82,7 @@ typedef float real_t; static unsigned last_chunk_id = 0; static int recolor_limit = 7; -static real_t dislike_influence = REAL(0.1); +static double dislike_influence = REAL(0.1); typedef struct col_cost_t { int col; @@ -401,7 +401,7 @@ static void *co_mst_irn_init(ir_phase *ph, const ir_node *irn) res->adm_colors = bitset_obstack_alloc(phase_obst(ph), env->n_regs); /* Exclude colors not assignable to the irn */ - req = arch_get_register_req_out(irn); + req = arch_get_irn_register_req(irn); if (arch_register_req_is(req, limited)) rbitset_copy_to_bitset(req->limited, res->adm_colors); else