summaryrefslogtreecommitdiffhomepage
path: root/ir/be/ia32
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2018-08-25 08:33:22 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2018-09-24 05:41:05 +0200
commit0e33556e3c7dea7c857eda3e1f1e3d93ed6ccbdb (patch)
treec1dff3f81875cb09e9690fe181a3e226cbf39a9f /ir/be/ia32
parent026a73c44bc3a131fdd5c4ae88c77f0d535fc53c (diff)
Remove dead assignment.
Diffstat (limited to 'ir/be/ia32')
-rw-r--r--ir/be/ia32/ia32_transform.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/ir/be/ia32/ia32_transform.c b/ir/be/ia32/ia32_transform.c
index c78872c..7a58d43 100644
--- a/ir/be/ia32/ia32_transform.c
+++ b/ir/be/ia32/ia32_transform.c
@@ -2180,11 +2180,11 @@ static ir_node *get_flags_node(ir_node *cmp, x86_condition_code_t *cc_out)
*/
static ir_node *gen_Load(ir_node *node)
{
- ir_node *block = be_transform_nodes_block(node);
- ir_node *ptr = get_Load_ptr(node);
- ir_node *mem = get_Load_mem(node);
- dbg_info *dbgi = get_irn_dbg_info(node);
- ir_mode *mode = get_Load_mode(node);
+ ir_node *const block = be_transform_nodes_block(node);
+ ir_node *const ptr = get_Load_ptr(node);
+ ir_node *const mem = get_Load_mem(node);
+ dbg_info *const dbgi = get_irn_dbg_info(node);
+ ir_mode *const mode = get_Load_mode(node);
/* construct load address */
x86_address_t addr;
@@ -2211,7 +2211,6 @@ static ir_node *gen_Load(ir_node *node)
} else {
new_node = new_bd_ia32_Load(dbgi, block, base, idx, new_mem, size,
false);
- mode = ia32_mode_gp;
}
}
int throws_exception = ir_throws_exception(node);