X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firprog.c;h=0200998a17551a8f9f5fa509902b66748d2d9d81;hb=a226465c4f00c94b3e94a7c717e04061625e7a33;hp=797fd22b3f75902cf0b3f21fe994f954754e2b96;hpb=1479e0f7f8fc74c173e9893b607f9dd2ad76b551;p=libfirm diff --git a/ir/ir/irprog.c b/ir/ir/irprog.c index 797fd22b3..0200998a1 100644 --- a/ir/ir/irprog.c +++ b/ir/ir/irprog.c @@ -58,7 +58,7 @@ ir_prog *new_ir_prog (void) { /* res->obst = (struct obstack *) xmalloc (sizeof (struct obstack)); */ res->graphs = NEW_ARR_F (ir_graph *, 1); res->types = NEW_ARR_F (type *, 1); - res->name = NULL; + res->name = new_id_from_str("no_name_set"); #ifdef DEBUG_libfirm res->max_node_nr = 0;