beverify: test register width in regalloc verification
[libfirm] / ir / be / becopyheur4.c
index f5fd8c9..bac5a04 100644 (file)
@@ -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