X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbecopyopt_t.h;h=2519c648767407507c0eeaf19c8f3d599243a7e7;hb=1ef3d57f913e2f533aba0ab6b22f4d66223b86ed;hp=13a9f86a70903573be7a9aba96ac5569c9449219;hpb=bb9f2e36362333c6635b89f5258171b06c786608;p=libfirm diff --git a/ir/be/becopyopt_t.h b/ir/be/becopyopt_t.h index 13a9f86a7..2519c6487 100644 --- a/ir/be/becopyopt_t.h +++ b/ir/be/becopyopt_t.h @@ -58,9 +58,8 @@ struct _copy_opt_t { #define ASSERT_OU_AVAIL(co) assert((co)->units.next && "Representation as optimization-units not build") #define ASSERT_GS_AVAIL(co) assert((co)->nodes && "Representation as graph not build") -#define get_irn_col(irn) arch_register_get_index(arch_get_irn_register(irn)) -#define set_irn_col(co, irn, col) arch_set_irn_register(irn, arch_register_for_index((co)->cls, col)) -#define is_curr_reg_class(co, irn) (arch_get_irn_reg_class(irn, -1) == (co)->cls) +#define get_irn_col(irn) arch_register_get_index(arch_get_irn_register(irn)) +#define set_irn_col(co, irn, col) arch_set_irn_register(irn, arch_register_for_index((co)->cls, col)) #define list_entry_units(lh) list_entry(lh, unit_t, units)