- } else if (is_Cond(n)) {
- ir_node *sel = get_Cond_selector(n);
- if (get_irn_mode(sel) != mode_b) {
- /* found a switch-Cond, collect */
- ARR_APP1(ir_node*, env->switch_conds, n);
- }
+ } else if (is_Cond(n) && is_switch_Cond(n)) {
+ /* found a switch-Cond, collect */
+ ARR_APP1(ir_node*, *switch_conds, n);