X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftpop.c;h=3fcf757e33d7fb21cad178d275ca13e54fd12b39;hb=246d0a3ac5d4cef9de6532ffa027b6a53e1e09ac;hp=d9df533411c6f880cea2b4f9d357a4bee3be65f2;hpb=1ce363f80e6a204d4011f85813362d9bd1d0e7e4;p=libfirm diff --git a/ir/tr/tpop.c b/ir/tr/tpop.c index d9df53341..3fcf757e3 100644 --- a/ir/tr/tpop.c +++ b/ir/tr/tpop.c @@ -23,9 +23,7 @@ * @author Goetz Lindenmaier, Michael Beck * @version $Id$ */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include "xmalloc.h" #include "tpop_t.h" @@ -47,9 +45,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;