summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beverify.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/beverify.c
parentf5bccf5daed594c9e127e13559f8926a63b2d62f (diff)
remove arch_register_type_t in favor of a simple bitfield
Diffstat (limited to 'ir/be/beverify.c')
-rw-r--r--ir/be/beverify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ir/be/beverify.c b/ir/be/beverify.c
index 5aef6da..02d2fa5 100644
--- a/ir/be/beverify.c
+++ b/ir/be/beverify.c
@@ -625,7 +625,7 @@ static void check_input_constraints(be_verify_reg_alloc_env_t *const env, ir_nod
foreach_irn_in(node, i, pred) {
const arch_register_t *pred_reg = arch_get_irn_register(pred);
- if (reg != pred_reg && !(pred_reg->type & arch_register_type_virtual)) {
+ if (reg != pred_reg && !(pred_reg->is_virtual)) {
const char *pred_name = pred_reg != NULL ? pred_reg->name : "(null)";
const char *reg_name = reg != NULL ? reg->name : "(null)";
verify_warnf(node, "input %d of %+F uses register %s instead of %s", i, node, pred_name, reg_name);
@@ -638,7 +638,7 @@ static void check_input_constraints(be_verify_reg_alloc_env_t *const env, ir_nod
static void value_used(be_verify_reg_alloc_env_t *const env, ir_node const **const registers, ir_node const *const block, ir_node const *const node)
{
const arch_register_t *reg = arch_get_irn_register(node);
- if (reg == NULL || reg->type & arch_register_type_virtual)
+ if (reg == NULL || reg->is_virtual)
return;
const arch_register_req_t *req = arch_get_irn_register_req(node);
@@ -660,7 +660,7 @@ static void value_def(be_verify_reg_alloc_env_t *const env, ir_node const **cons
{
const arch_register_t *reg = arch_get_irn_register(node);
- if (reg == NULL || reg->type & arch_register_type_virtual)
+ if (reg == NULL || reg->is_virtual)
return;
const arch_register_req_t *req = arch_get_irn_register_req(node);