Keep alive the call proj
authorSebastian Hack <hack@ipd.info.uni-karlsruhe.de>
Tue, 29 Aug 2006 08:27:26 +0000 (08:27 +0000)
committerSebastian Hack <hack@ipd.info.uni-karlsruhe.de>
Tue, 29 Aug 2006 08:27:26 +0000 (08:27 +0000)
Earlier, that Proj was used by the IncSP
now, there is only a dependency edge

ir/be/beabi.c

index cd006b5..e4c0bea 100644 (file)
@@ -694,8 +694,10 @@ static ir_node *adjust_call(be_abi_irg_t *env, ir_node *irn, ir_node *curr_sp, i
                        }
                }
 
-               if(!mem_proj)
+               if(!mem_proj) {
                        mem_proj = new_r_Proj(irg, bl, low_call, mode_M, pn_Call_M);
+                       keep_alive(mem_proj);
+               }
 
                 /* Clean up the stack frame if we allocated it */
                if(!no_alloc) {