Commit 8e9a0f9f authored by Matthias Braun's avatar Matthias Braun
Browse files

simply remove End keepalive instead of replacing it with Bad

parent 27215754
......@@ -319,13 +319,7 @@ void normalize_n_returns(ir_graph *irg)
*/
phiM = get_Return_mem(ret);
if (is_Phi(phiM)) {
n = get_End_n_keepalives(end);
for (i = 0; i < n; ++i) {
if (get_End_keepalive(end, i) == phiM) {
set_End_keepalive(end, i, new_r_Bad(irg, mode_M));
break;
}
}
remove_End_keepalive(end, phiM);
}
}
......
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