summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bechordal_common.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2016-01-08 22:45:02 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2016-01-15 22:14:25 +0100
commit461ef0961c198faa76e7afd723bed0c814f8f03a (patch)
tree172f24efc129fb3a3eeef868ce8543fad3f1d1b5 /ir/be/bechordal_common.c
parentb1c358560b6034354b546cb4f79356bff5fdb08a (diff)
chordal: Remove dead assignment.
Diffstat (limited to 'ir/be/bechordal_common.c')
-rw-r--r--ir/be/bechordal_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/be/bechordal_common.c b/ir/be/bechordal_common.c
index 57c29ec..db4d1f7 100644
--- a/ir/be/bechordal_common.c
+++ b/ir/be/bechordal_common.c
@@ -122,7 +122,7 @@ void create_borders(ir_node *block, void *env_ptr)
ir_node *pre_process_constraints(be_chordal_env_t *env, be_insn_t **the_insn)
{
- be_insn_t *insn = *the_insn;
+ be_insn_t *const insn = *the_insn;
/*
* Make the Perm, recompute liveness and re-scan the insn since the
@@ -141,7 +141,7 @@ ir_node *pre_process_constraints(be_chordal_env_t *env, be_insn_t **the_insn)
* the live sets may change.
*/
obstack_free(&env->obst, insn);
- *the_insn = insn = be_scan_insn(env, irn);
+ *the_insn = be_scan_insn(env, irn);
/* Copy the input constraints of the irn to the Perm as output
* constraints. Succeeding phases (coalescing) will need that. */