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

handle Bads more gracefully

[r19945]
parent 255d92e1
......@@ -144,7 +144,7 @@ static void construct_ssa(ir_node * const *blocks, ir_node * const *vals, int n_
ir_node *value = vals[i];
ir_node *value_block = blocks[i];
assert(get_irn_mode(value) == mode);
assert(get_irn_mode(value) == mode || is_Bad(value));
set_irn_link(value_block, value);
mark_irn_visited(value_block);
......
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