X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fadt%2Fset.c;h=6411e38efe6f7c5e602b79706cec73424966114d;hb=f2edb6301aa7affb0673e76436d9b4dbaef6b9e1;hp=8ddd09acc4f7ed8ddae43b961b6fc264325cd02f;hpb=974215da1a935f250766874d0f7a7ddfa34bc4ef;p=libfirm diff --git a/ir/adt/set.c b/ir/adt/set.c index 8ddd09acc..6411e38ef 100644 --- a/ir/adt/set.c +++ b/ir/adt/set.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -47,6 +47,8 @@ # include "config.h" #endif +#include "firm_config.h" + #ifdef PSET # define SET pset # define PMANGLE(pre) pre##_pset @@ -186,7 +188,7 @@ SET * (PMANGLE(new)) (MANGLEP(cmp_fun) cmp, int nslots) { int i; - SET *table = xmalloc(sizeof(*table)); + SET *table = XMALLOC(SET); if (nslots > SEGMENT_SIZE * DIRECTORY_SIZE) nslots = DIRECTORY_SIZE;