summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bepeephole.c
diff options
context:
space:
mode:
authorMatthias Braun <matthias.braun@kit.edu>2012-07-13 22:09:44 +0200
committerMatthias Braun <matthias.braun@kit.edu>2012-07-13 22:09:44 +0200
commita8ee9cf831b6aa9c41312a7d380eb31c30fa5548 (patch)
tree18f20a69ca5a326d9c9bb3e70dfd9acd26afc11e /ir/be/bepeephole.c
parenta4360ad1c1ce12cf7258bdb564e28d26859e3729 (diff)
remove write-only bitset
Diffstat (limited to 'ir/be/bepeephole.c')
-rw-r--r--ir/be/bepeephole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/bepeephole.c b/ir/be/bepeephole.c
index 951e247..ae296f4 100644
--- a/ir/be/bepeephole.c
+++ b/ir/be/bepeephole.c
@@ -191,7 +191,7 @@ static void process_block(ir_node *block, void *data)
/* construct initial register assignment */
memset(register_values, 0, sizeof(ir_node*) * arch_env->n_registers);
- assert(lv->nodes && "live sets must be computed");
+ assert(lv->sets_valid && "live sets must be computed");
DB((dbg, LEVEL_1, "\nProcessing block %+F (from end)\n", block));
be_lv_foreach(lv, block, be_lv_state_end, l) {
ir_node *node = be_lv_get_irn(lv, block, l);