remove some unnecessary/confusing flags
[libfirm] / ir / lower / lower_switch.c
index 2d4e214..5c53007 100644 (file)
@@ -235,6 +235,7 @@ static void create_out_of_bounds_check(cond_env_t *env, ir_node *cond)
                delta            = env->switch_min;
                env->switch_min  = 0;
                env->switch_max -= delta;
+               set_Cond_selector(cond, sel);
        }
 
        /* check for out-of-bounds */