X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firprog.c;h=1c5bc9b8bd95bfc6bf56c73c817468ca2b1543bf;hb=cb91bddc9cacdab7c28e4336847bd3dc248aa549;hp=5c4683042f0d607a9543854b2cc1eff745d8495f;hpb=dddcc630819f338c3b45e2bc646233e6872d5bb6;p=libfirm diff --git a/ir/ir/irprog.c b/ir/ir/irprog.c index 5c4683042..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; } @@ -218,3 +216,12 @@ ir_node** get_irp_ip_outedges(void) { return(irp -> ip_outedges); } + + +irg_callee_info_state get_irp_callee_info_state(void) { + return irp->callee_info_state; +} + +void set_irp_callee_info_state(irg_callee_info_state s) { + irp->callee_info_state = s; +}