summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beprefalloc.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-06-19 08:08:19 +0200
committerMatthias Braun <matze@braunis.de>2015-06-19 08:08:56 +0200
commitc85d04f813a7c612b7f9b4d0eb296c6b54441304 (patch)
treed592d5cd764f8d283bdff54b6aa1df6787fbbbc8 /ir/be/beprefalloc.c
parentf5bccf5daed594c9e127e13559f8926a63b2d62f (diff)
remove arch_register_type_t 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 4b19b4b..df51bde 100644
--- a/ir/be/beprefalloc.c
+++ b/ir/be/beprefalloc.c
@@ -1293,7 +1293,7 @@ static void add_phi_permutations(ir_node *block, int p)
ir_node *op = pred_info->assignments[a];
const arch_register_t *op_reg = arch_get_irn_register(op);
/* Virtual registers are ok, too. */
- if (op_reg->type & arch_register_type_virtual)
+ if (op_reg->is_virtual)
continue;
permutation[regn] = a;