X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftpop.c;h=2987bc119b4e954c104165678dbb9fa4fb98220b;hb=f2edb6301aa7affb0673e76436d9b4dbaef6b9e1;hp=d9df533411c6f880cea2b4f9d357a4bee3be65f2;hpb=1ce363f80e6a204d4011f85813362d9bd1d0e7e4;p=libfirm diff --git a/ir/tr/tpop.c b/ir/tr/tpop.c index d9df53341..2987bc119 100644 --- a/ir/tr/tpop.c +++ b/ir/tr/tpop.c @@ -47,9 +47,7 @@ tp_op * new_tpop(tp_opcode code, ident *name, unsigned flags, size_t attr_size, const tp_op_ops *ops) { - tp_op *res; - - res = xmalloc(sizeof(*res)); + tp_op *res = XMALLOC(tp_op); res->code = code; res->name = name; res->flags = flags;