summaryrefslogtreecommitdiffhomepage
path: root/ir/be/TEMPLATE
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2018-08-19 15:49:09 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2018-08-23 08:59:24 +0200
commitedcd9915c2a2adae9bb16e21de909199bd8b0e4b (patch)
tree1479457f56c33dec5c50417572385e8058e0520c /ir/be/TEMPLATE
parent9ecf429e6789137ed7fc5600b439b10ce5be63ae (diff)
Directly use ${ARCH}_single_reg_req_${CLS}_${REG} instead of ${ARCH}_registers[REG_${REG}].single_req.
Diffstat (limited to 'ir/be/TEMPLATE')
-rw-r--r--ir/be/TEMPLATE/TEMPLATE_transform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/TEMPLATE/TEMPLATE_transform.c b/ir/be/TEMPLATE/TEMPLATE_transform.c
index cf0625f..815eef0 100644
--- a/ir/be/TEMPLATE/TEMPLATE_transform.c
+++ b/ir/be/TEMPLATE/TEMPLATE_transform.c
@@ -243,7 +243,7 @@ static ir_node *gen_Return(ir_node *node)
reqs[n_TEMPLATE_Return_mem] = arch_memory_req;
in[n_TEMPLATE_Return_stack] = get_irg_frame(irg);
- reqs[n_TEMPLATE_Return_stack] = TEMPLATE_registers[REG_SP].single_req;
+ reqs[n_TEMPLATE_Return_stack] = &TEMPLATE_single_reg_req_gp_sp;
for (unsigned i = 0; i != n_res; ++p, ++i) {
ir_node *const res = get_Return_res(node, i);