From: Matthias Braun Date: Tue, 16 Mar 2010 15:59:39 +0000 (+0000) Subject: allow unnamed structs X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=3ed9d6b7033abb729aa0fd500ae028782189eaa1;p=libfirm allow unnamed structs [r27303] --- diff --git a/ir/tr/type.c b/ir/tr/type.c index 9114ff9b9..78e03d125 100644 --- a/ir/tr/type.c +++ b/ir/tr/type.c @@ -1056,7 +1056,6 @@ void set_class_size(ir_type *tp, unsigned size) ir_type *new_d_type_struct(ident *name, type_dbg_info *db) { ir_type *res = new_type(type_struct, NULL, db); - assert(name != NULL); res->name = name; res->attr.sa.members = NEW_ARR_F(ir_entity *, 0);