X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firprog.c;h=1c5bc9b8bd95bfc6bf56c73c817468ca2b1543bf;hb=cb91bddc9cacdab7c28e4336847bd3dc248aa549;hp=40e3d4cf16f7df0a869cce81a950672cd20ec3ed;hpb=1f19a7c1dc58a7f0623caf0745b39fd13f08e72f;p=libfirm diff --git a/ir/ir/irprog.c b/ir/ir/irprog.c index 40e3d4cf1..1c5bc9b8b 100644 --- a/ir/ir/irprog.c +++ b/ir/ir/irprog.c @@ -146,7 +146,6 @@ ir_graph *(get_irp_irg)(int pos){ void set_irp_irg(int pos, ir_graph *irg) { assert (irp && irg); assert (pos < (ARR_LEN((irp)->graphs))); - /* Strangely the first element of the array is NULL. Why?? */ irp->graphs[pos] = irg; } @@ -172,7 +171,6 @@ type *(get_irp_type) (int pos) { void set_irp_type(int pos, type *typ) { assert (irp && typ); assert (pos < (ARR_LEN((irp)->types))); - /* Strangely the first element of the array is NULL. Why?? */ irp->types[pos] = typ; }