X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firgraph.c;h=c6d7c414054bd7684e7790b959e6700ba12c6a69;hb=eb47aca33f2f8c414409f3695e73277b47442334;hp=ba6e16effb6ad1473119f737f51b6ce4e5f1bc43;hpb=e1d0a7c980faef658ffd4fd63a43e74b764a7dfe;p=libfirm diff --git a/ir/ir/irgraph.c b/ir/ir/irgraph.c index ba6e16eff..c6d7c4140 100644 --- a/ir/ir/irgraph.c +++ b/ir/ir/irgraph.c @@ -154,7 +154,7 @@ ir_graph *new_r_ir_graph(ir_entity *ent, int n_loc) { ir_graph *res; ir_node *first_block; - ir_node *end, *start, *start_block, *initial_mem, *projX, *bad; + ir_node *start, *start_block, *initial_mem, *projX; res = alloc_graph(); @@ -212,13 +212,11 @@ ir_graph *new_r_ir_graph(ir_entity *ent, int n_loc) /*-- Nodes needed in every graph --*/ set_irg_end_block (res, new_r_immBlock(res)); - end = new_r_End(res, 0, NULL); - set_irg_end(res, end); + set_irg_end(res, new_r_End(res, 0, NULL)); start_block = new_r_Block_noopt(res, 0, NULL); set_irg_start_block(res, start_block); - bad = new_r_Bad(res); - set_irg_bad (res, bad); + set_irg_bad (res, new_r_Bad(res)); set_irg_no_mem (res, new_r_NoMem(res)); start = new_r_Start(res); set_irg_start (res, start);