X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firopt.c;h=dbcbe6c76978ea473197321ecd73a53b14b92092;hb=8399216d8aebc713bbda04b6e3e250a1d52b20bf;hp=3672f0412b5784784e75823a3dddaf0142841583;hpb=60c9f323685e93f335d0f26aad2da647b669886d;p=libfirm diff --git a/ir/ir/iropt.c b/ir/ir/iropt.c index 3672f0412..dbcbe6c76 100644 --- a/ir/ir/iropt.c +++ b/ir/ir/iropt.c @@ -42,12 +42,6 @@ /* Make types visible to allow most efficient access */ # include "entity_t.h" -# ifdef DO_HEAPANALYSIS -/* heapanal can't cope with NoMems */ -# else /* if defined DO_HEAPANALYSIS */ -# define USE_NOMEM -# endif /* defined DO_HEAPANALYSIS */ - /** * Trivial INLINEable routine for copy propagation. * Does follow Ids, needed to optimize INLINEd code. @@ -1504,9 +1498,7 @@ static ir_node *transform_node_Proj(ir_node *proj) } else { /* the memory Proj can be removed */ ir_node *res = get_Div_mem(n); -# ifdef USE_NOMEM set_Div_mem(n, get_irg_no_mem(current_ir_graph)); -# endif /* defined USE_NOMEM */ if (proj_nr == pn_Div_M) return res; } @@ -1528,9 +1520,7 @@ static ir_node *transform_node_Proj(ir_node *proj) } else { /* the memory Proj can be removed */ ir_node *res = get_Mod_mem(n); -# ifdef USE_NOMEM set_Mod_mem(n, get_irg_no_mem(current_ir_graph)); -# endif /* defined USE_NOMEM */ if (proj_nr == pn_Mod_M) return res; } @@ -1553,9 +1543,7 @@ static ir_node *transform_node_Proj(ir_node *proj) else { /* the memory Proj can be removed */ ir_node *res = get_DivMod_mem(n); -# ifdef USE_NOMEM set_DivMod_mem(n, get_irg_no_mem(current_ir_graph)); -# endif /* defined USE_NOMEM */ if (proj_nr == pn_DivMod_M) return res; }