summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beprefalloc.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2014-11-12 05:16:49 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2014-11-13 17:32:00 +0100
commit4cd9a0a92cd161a93ce51127ff680ef83fb69a67 (patch)
tree92f5970d00ad2365e3b80e5d51e7fdbfb95100d7 /ir/be/beprefalloc.c
parent55d13a9109c4326614fcf59461781d22b93a4fe5 (diff)
be: Remove the thin wrapper macro arch_register_class_flags().
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 ab6bb70..836b943 100644
--- a/ir/be/beprefalloc.c
+++ b/ir/be/beprefalloc.c
@@ -1823,7 +1823,7 @@ static void be_pref_alloc(ir_graph *new_irg)
int n_cls = arch_env->n_register_classes;
for (int c = 0; c < n_cls; ++c) {
cls = &arch_env->register_classes[c];
- if (arch_register_class_flags(cls) & arch_register_class_flag_manual_ra)
+ if (cls->flags & arch_register_class_flag_manual_ra)
continue;
stat_ev_ctx_push_str("regcls", cls->name);