summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestack.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-11-13 09:46:59 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-11-13 09:46:59 +0100
commita9132de4425fe5540d316e1a2c7fd37635464514 (patch)
tree13be5f797fc955ca58b4dcdaeb8202da11bb357e /ir/be/bestack.c
parentf84594874e48e9883cfb1e040856f3f56782c956 (diff)
Remove the very thin wrapper function arch_register_get_class().
Diffstat (limited to 'ir/be/bestack.c')
-rw-r--r--ir/be/bestack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/bestack.c b/ir/be/bestack.c
index fc62c83..7f93a1f 100644
--- a/ir/be/bestack.c
+++ b/ir/be/bestack.c
@@ -313,7 +313,7 @@ void be_abi_fix_stack_nodes(ir_graph *irg)
new_sp_req = OALLOCZ(obst, arch_register_req_t);
new_sp_req->type = arch_register_req_type_limited
| arch_register_req_type_produces_sp;
- new_sp_req->cls = arch_register_get_class(arch_env->sp);
+ new_sp_req->cls = arch_env->sp->reg_class;
new_sp_req->width = 1;
limited_bitset = rbitset_obstack_alloc(obst, new_sp_req->cls->n_regs);