Commit 2e0edbcb authored by Michael Beck's avatar Michael Beck
Browse files

C99 feature removed.

[r27436]
parent 1ef7eb66
/*
* Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
* Copyright (C) 1995-2010 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
......@@ -467,14 +467,14 @@ static const arch_register_t *sparc_abi_prologue(void *self, ir_node **mem,
//ir_type *frame_type = get_irg_frame_type(env->irg);
//frame_alloc_area(frame_type, reserved_stack_size, 1, 1);
(void) reg_map;
(void) mem;
(void) stack_bias;
// alloc min required stack space
// TODO: the min stacksize depends on wether this is a leaf procedure or not
ir_node *save = new_bd_sparc_Save(NULL, block, sp_proj, *mem, SPARC_MIN_STACKSIZE);
(void) reg_map;
(void) mem;
(void) stack_bias;
*stack_bias -= SPARC_MIN_STACKSIZE;
sp_proj = new_r_Proj(save, sp->reg_class->mode, pn_sparc_Save_stack);
*mem = new_r_Proj(save, mode_M, pn_sparc_Save_mem);
......
/*
* Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
* Copyright (C) 1995-2010 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
......@@ -2063,11 +2063,9 @@ static unsigned get_unroll_decision(void)
/* Initialize unrolling phase. TODO alloc array here? */
void *init_unrolling_phase(ir_phase *ph, const ir_node *n, void *old)
{
(void)old;
ir_node **arr;
unrolling_node_info *info = XMALLOCZ(unrolling_node_info);
arr = NEW_ARR_F(ir_node *, unroll_number - 1);
ir_node **arr = NEW_ARR_F(ir_node *, unroll_number - 1);
(void)old;
memset(info->copies, 0, (unroll_number - 1) * sizeof(ir_node *));
info->copies = arr;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment