summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestack.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-11-24 10:04:41 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-11-24 11:01:33 +0100
commite937cb6c0dcc8ff69e285eb050effb62204c1007 (patch)
treef1d324262c58dd8097021cfbbdf18ca61099ba91 /ir/be/bestack.c
parentc10470321586f38dcb369087e19ca5614cfb3e8e (diff)
bestack: Remove the write-only attribute between_size from struct bias_walk.
Diffstat (limited to 'ir/be/bestack.c')
-rw-r--r--ir/be/bestack.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ir/be/bestack.c b/ir/be/bestack.c
index 7f93a1f..f5c83b5 100644
--- a/ir/be/bestack.c
+++ b/ir/be/bestack.c
@@ -140,9 +140,8 @@ static void lower_outer_frame_sels(ir_node *sel, void *ctx)
* A helper struct for the bias walker.
*/
typedef struct bias_walk {
- int start_block_bias; /**< The bias at the end of the start block. */
- int between_size;
- ir_node *start_block; /**< The start block of the current graph. */
+ int start_block_bias; /**< The bias at the end of the start block. */
+ ir_node *start_block; /**< The start block of the current graph. */
} bias_walk;
/**
@@ -245,7 +244,6 @@ void be_abi_fix_stack_bias(ir_graph *irg)
/* 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.between_size = get_type_size_bytes(stack_layout->between_type);
/* fix the bias is all other blocks */
bw.start_block = get_irg_start_block(irg);