summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bearch.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/bearch.c
parentf5bccf5daed594c9e127e13559f8926a63b2d62f (diff)
remove arch_register_type_t in favor of a simple bitfield
Diffstat (limited to 'ir/be/bearch.c')
-rw-r--r--ir/be/bearch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/bearch.c b/ir/be/bearch.c
index 76ebfd1..6ae3093 100644
--- a/ir/be/bearch.c
+++ b/ir/be/bearch.c
@@ -71,7 +71,7 @@ bool arch_reg_is_allocatable(const arch_register_req_t *req,
{
if (req->cls != reg->cls)
return false;
- if (reg->type & arch_register_type_virtual)
+ if (reg->is_virtual)
return true;
if (arch_register_req_is(req, limited))
return rbitset_is_set(req->limited, reg->index);