summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bepeephole.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/bepeephole.c
parentf5bccf5daed594c9e127e13559f8926a63b2d62f (diff)
remove arch_register_type_t in favor of a simple bitfield
Diffstat (limited to 'ir/be/bepeephole.c')
-rw-r--r--ir/be/bepeephole.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/be/bepeephole.c b/ir/be/bepeephole.c
index 736b165..c9acc60 100644
--- a/ir/be/bepeephole.c
+++ b/ir/be/bepeephole.c
@@ -40,7 +40,7 @@ static void clear_reg_value(ir_node *node)
if (reg == NULL) {
panic("no register assigned at %+F", node);
}
- if (reg->type & arch_register_type_virtual)
+ if (reg->is_virtual)
return;
DB((dbg, LEVEL_1, "Clear Register %s\n", reg->name));
@@ -57,7 +57,7 @@ static void set_reg_value(ir_node *node)
if (reg == NULL) {
panic("no register assigned at %+F", node);
}
- if (reg->type & arch_register_type_virtual)
+ if (reg->is_virtual)
return;
DB((dbg, LEVEL_1, "Set Register %s: %+F\n", reg->name, node));