summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bepbqpcoloring.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2011-03-04 17:31:41 +0100
committerMatthias Braun <matze@braunis.de>2011-03-04 20:12:11 +0100
commitea6e9be0bea5ad0079ab09d5e494cf7b5c889552 (patch)
tree09f4a33e81b84447dda55122e5eed96aa65a9db6 /ir/be/bepbqpcoloring.c
parent8228e1209acfaaa128ff2c04caa4caeb27771273 (diff)
remove be_Barrier and lots of hacks for maintaining it
Diffstat (limited to 'ir/be/bepbqpcoloring.c')
-rw-r--r--ir/be/bepbqpcoloring.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/ir/be/bepbqpcoloring.c b/ir/be/bepbqpcoloring.c
index 8fae9e2..22fc0df 100644
--- a/ir/be/bepbqpcoloring.c
+++ b/ir/be/bepbqpcoloring.c
@@ -599,13 +599,7 @@ static void create_pbqp_coloring_instance(ir_node *block, void *data)
static void insert_perms(ir_node *block, void *data)
{
- /*
- * Start silent in the start block.
- * The silence remains until the first barrier is seen.
- * Each other block is begun loud.
- */
be_chordal_env_t *env = (be_chordal_env_t*)data;
- int silent = block == get_irg_start_block(get_irn_irg(block));
ir_node *irn;
/*
@@ -613,16 +607,9 @@ static void insert_perms(ir_node *block, void *data)
* start handling constraints from there.
*/
for (irn = sched_first(block); !sched_is_end(irn);) {
- int silent_old = silent; /* store old silent value */
- if (be_is_Barrier(irn))
- silent = !silent; /* toggle silent flag */
-
be_insn_t *insn = chordal_scan_insn(env, irn);
irn = insn->next_insn;
- if (silent_old)
- continue;
-
if (!insn->has_constraints)
continue;