becopyilp: Do not advertise the switch to dump the solution, because this is not...
[libfirm] / ir / be / bestack.c
index 7941734..761e09d 100644 (file)
@@ -1,20 +1,6 @@
 /*
- * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
- *
  * This file is part of libFirm.
- *
- * This file may be distributed and/or modified under the terms of the
- * GNU General Public License version 2 as published by the Free Software
- * Foundation and appearing in the file LICENSE.GPL included in the
- * packaging of this file.
- *
- * Licensees holding valid libFirm Professional Edition licenses may use
- * this file in accordance with the libFirm Commercial License.
- * Agreement provided with the Software.
- *
- * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
- * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE.
+ * Copyright (C) 2012 University of Karlsruhe.
  */
 
 /**
@@ -239,11 +225,10 @@ void be_abi_fix_stack_bias(ir_graph *irg)
        stack_frame_compute_initial_offset(stack_layout);
 
        /* Determine the stack bias at the end of the start block. */
-       bw.start_block_bias = process_stack_bias(get_irg_start_block(irg),
-                                                stack_layout->initial_bias);
+       bw.start_block      = get_irg_start_block(irg);
+       bw.start_block_bias = process_stack_bias(bw.start_block, stack_layout->initial_bias);
 
        /* fix the bias is all other blocks */
-       bw.start_block = get_irg_start_block(irg);
        irg_block_walk_graph(irg, stack_bias_walker, NULL, &bw);
 
        /* fix now inner functions: these still have Sel node to outer