summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bearch.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2014-11-11 20:26:41 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2014-11-13 17:32:00 +0100
commit553f4e1a88f56775c47273198e0bcca796b622b0 (patch)
tree305a276f3fc8bc9f18bb4e51daa4344e4287a6ee /ir/be/bearch.c
parent3027ce20a73e89fbd1fafabedad978ee1b96be05 (diff)
be: Rename reg_class of struct arch_register_t to cls.
All other structs holding a register class call it cls, too.
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 dab6934..6101a4a 100644
--- a/ir/be/bearch.c
+++ b/ir/be/bearch.c
@@ -130,7 +130,7 @@ bool arch_reg_is_allocatable(const arch_register_req_t *req,
const arch_register_t *reg)
{
assert(req->type != arch_register_req_type_none);
- if (req->cls != reg->reg_class)
+ if (req->cls != reg->cls)
return false;
if (reg->type & arch_register_type_virtual)
return true;