* ok, we are here, so we have build and collected all needed Phi's
* now exchange all Projs into links to Phi
*/
- for (p = data.proj_m; p; p = n) {
- n = get_irn_link(p);
- exchange(p, phis[0]);
- }
+ exchange(data.proj_m, phis[0]);
for (p = data.proj_data; p; p = n) {
long proj = get_Proj_proj(p);
return TR_BAD;
case iro_Sub:
- /* try additive, but return value mut be left */
+ /* try additive, but return value must be left */
a = get_Sub_left(irn);
if (get_irn_MacroBlock(a) != get_irn_MacroBlock(call)) {
/* we are outside, ignore */
current_ir_graph = irg;
+ set_using_irn_link(irg);
if (opt_tail_rec_irg(irg))
++n_opt_applications;
+ clear_using_irn_link(irg);
}
DB((dbg, LEVEL_1, "Performed tail recursion for %d of %d graphs\n",