Commit f6ac0d25 authored by yb9976's avatar yb9976
Browse files

Remove pointless assertion: We would panic otherwise

parent 30e30489
......@@ -326,7 +326,6 @@ static ir_node *get_irg_arg(ir_graph *irg, size_t pos)
ir_node *irg_args = get_irg_args(irg);
foreach_irn_out_r(irg_args, i, proj) {
if (pos == get_Proj_num(proj)) {
assert(arg == NULL);
if (arg != NULL)
panic("multiple projs for the same argument");
arg = proj;
......
Markdown is supported
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