From 631b373103f2fecb0bd03926e16130543e41ce78 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sat, 24 Nov 2012 12:39:21 +0100 Subject: [PATCH] beabi: Remove pointless local variable. --- ir/be/beabi.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ir/be/beabi.c b/ir/be/beabi.c index 832add987..72ce78d23 100644 --- a/ir/be/beabi.c +++ b/ir/be/beabi.c @@ -1190,9 +1190,7 @@ static ir_node *create_be_return(be_abi_irg_t *const env, ir_node *const irn) pmap *reg_map = pmap_create(); ir_node *keep = pmap_get(ir_node, env->keep_map, bl); size_t in_max; - ir_node *ret; int i, n; - unsigned pop; ir_node **in; ir_node *stack; const arch_register_t **regs; @@ -1267,9 +1265,7 @@ static ir_node *create_be_return(be_abi_irg_t *const env, ir_node *const irn) /* The in array for the new back end return is now ready. */ dbg_info *const dbgi = get_irn_dbg_info(irn); - /* we have to pop the shadow parameter in in case of struct returns */ - pop = call->pop; - ret = be_new_Return(dbgi, irg, bl, n_res, pop, n, in); + ir_node *const ret = be_new_Return(dbgi, irg, bl, n_res, call->pop, n, in); /* Set the register classes of the return's parameter accordingly. */ for (i = 0; i < n; ++i) { -- 2.20.1