Commit cb80856c authored by Matthias Braun's avatar Matthias Braun
Browse files

don't fail on switches

[r8236]
parent 703c2236
......@@ -352,9 +352,9 @@ static void cond_eval(ir_node* block, void* env)
cond = pred;
pred = get_Cond_selector(cond);
assert(is_Proj(pred));
// TODO handle switches
if (get_irn_mode(pred) != mode_b) continue;
assert(is_Proj(pred));
pnc = get_Proj_proj(pred);
cmp = get_Proj_pred(pred);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment