X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Flower%2Flower_switch.c;h=5c530072706687bc470c55ed081a49b90437f168;hb=7fb8d0d5cb80fa51fef49bcd1c05117801a59c77;hp=2d4e2140c8994f33dc1b3b6df10e81d7f6bacf6f;hpb=6e5fd745c70d70f56fbe65df64983675897eb304;p=libfirm diff --git a/ir/lower/lower_switch.c b/ir/lower/lower_switch.c index 2d4e2140c..5c5300727 100644 --- a/ir/lower/lower_switch.c +++ b/ir/lower/lower_switch.c @@ -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 */