C99 features removed
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sun, 13 Apr 2008 12:41:23 +0000 (12:41 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sun, 13 Apr 2008 12:41:23 +0000 (12:41 +0000)
[r19261]

ir/be/beabi.c

index ab7732d..d4c8424 100644 (file)
@@ -839,11 +839,15 @@ static ir_node *adjust_alloc_size(unsigned stack_alignment, ir_node *size,
                                   ir_graph *irg, ir_node *block, dbg_info *dbg)
 {
        if (stack_alignment > 1) {
+               ir_mode *mode;
+               tarval  *tv;
+               ir_node *mask;
+
                assert(is_po2(stack_alignment));
-               ir_mode *mode = get_irn_mode(size);
-               tarval  *tv   = new_tarval_from_long(stack_alignment-1, mode);
-               ir_node *mask = new_r_Const(irg, block, mode, tv);
 
+               mode = get_irn_mode(size);
+               tv   = new_tarval_from_long(stack_alignment-1, mode);
+               mask = new_r_Const(irg, block, mode, tv);
                size = new_rd_Add(dbg, irg, block, size, mask, mode);
 
                tv   = new_tarval_from_long(-(long)stack_alignment, mode);