summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beprefalloc.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-06-19 08:04:13 +0200
committerMatthias Braun <matze@braunis.de>2015-06-19 08:04:13 +0200
commitf5bccf5daed594c9e127e13559f8926a63b2d62f (patch)
treed5ba08ca4f31fa74b35f88ecaed2647327de2329 /ir/be/beprefalloc.c
parent7726c953c2fc56ba65a50a634c521a4d1225a381 (diff)
get rid of arch_register_flags_t enum in favor of a simple bitfield
Diffstat (limited to 'ir/be/beprefalloc.c')
-rw-r--r--ir/be/beprefalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/beprefalloc.c b/ir/be/beprefalloc.c
index 44f5165..4b19b4b 100644
--- a/ir/be/beprefalloc.c
+++ b/ir/be/beprefalloc.c
@@ -1829,7 +1829,7 @@ static void be_pref_alloc(ir_graph *new_irg, const regalloc_if_t *regif)
arch_register_class_t const *const reg_classes = isa_if->register_classes;
for (int c = 0, n_cls = isa_if->n_register_classes; c < n_cls; ++c) {
cls = &reg_classes[c];
- if (cls->flags & arch_register_class_flag_manual_ra)
+ if (cls->manual_ra)
continue;
stat_ev_ctx_push_str("regcls", cls->name);