summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beverify.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2014-11-05 15:21:49 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2014-11-11 10:59:45 +0100
commit8e213ee179732664d351e82a4e4112e2d9487611 (patch)
tree72e16d09c2296699cd3f3fe0e2da791cce3686de /ir/be/beverify.c
parent8584d032fd7be9ac6064e2aef24a900f3c422f79 (diff)
be: Remove the thin wrapper function arch_get_irn_reg_class().
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 c7b56b8..7b4caa6 100644
--- a/ir/be/beverify.c
+++ b/ir/be/beverify.c
@@ -587,12 +587,12 @@ static const ir_node **registers;
static void check_output_constraints(const ir_node *node)
{
- if (arch_get_irn_reg_class(node) == NULL)
+ arch_register_req_t const *const req = arch_get_irn_register_req(node);
+ if (!req->cls)
return;
/* verify output register */
- const arch_register_req_t *req = arch_get_irn_register_req(node);
- const arch_register_t *reg = arch_get_irn_register(node);
+ arch_register_t const *const reg = arch_get_irn_register(node);
if (reg == NULL) {
ir_fprintf(stderr, "Verify warning: Node %+F in block %+F(%s) should have a register assigned\n",
node, get_nodes_block(node), get_irg_name(irg));