summaryrefslogtreecommitdiffhomepage
path: root/ir/be/TEMPLATE
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2015-08-31 21:29:49 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2015-09-08 12:23:08 +0200
commit2fb66e6e1d31c8e88156208077d309eac9020460 (patch)
treeec871170ea1fefcd091c75b97f22c6df0047a8b9 /ir/be/TEMPLATE
parentd0d34f4769d84df84ed859588b2dc73ca116d663 (diff)
be: Pass the input requirements directly to the constructors of nodes, which have a variable number of arguments.
Diffstat (limited to 'ir/be/TEMPLATE')
-rw-r--r--ir/be/TEMPLATE/TEMPLATE_transform.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ir/be/TEMPLATE/TEMPLATE_transform.c b/ir/be/TEMPLATE/TEMPLATE_transform.c
index 8a5c049..b0ea804 100644
--- a/ir/be/TEMPLATE/TEMPLATE_transform.c
+++ b/ir/be/TEMPLATE/TEMPLATE_transform.c
@@ -263,9 +263,7 @@ static ir_node *gen_Return(ir_node *node)
dbg_info *const dbgi = get_irn_dbg_info(node);
ir_node *const block = be_transform_nodes_block(node);
- ir_node *const ret = new_bd_TEMPLATE_Return(dbgi, block, n_ins, in);
- arch_set_irn_register_reqs_in(ret, reqs);
-
+ ir_node *const ret = new_bd_TEMPLATE_Return(dbgi, block, n_ins, in, reqs);
return ret;
}