summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bearch.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-06-19 08:34:12 +0200
committerMatthias Braun <matze@braunis.de>2015-06-19 08:34:12 +0200
commitbd0bfb9fe11843421b22ba66e62c35c9a383e62e (patch)
treec99615903984e2bde9f81c283eb01dc2a776b66a /ir/be/bearch.c
parentc85d04f813a7c612b7f9b4d0eb296c6b54441304 (diff)
remove arch_register_req_type_limited, look whether the limited pointer is != NULL instead
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 6ae3093..c0fdcd2 100644
--- a/ir/be/bearch.c
+++ b/ir/be/bearch.c
@@ -73,7 +73,7 @@ bool arch_reg_is_allocatable(const arch_register_req_t *req,
return false;
if (reg->is_virtual)
return true;
- if (arch_register_req_is(req, limited))
+ if (req->limited != NULL)
return rbitset_is_set(req->limited, reg->index);
return true;
}