X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fadt%2Fset.c;h=6411e38efe6f7c5e602b79706cec73424966114d;hb=f2edb6301aa7affb0673e76436d9b4dbaef6b9e1;hp=d0c2b18becace3670fc37866bd167af397383bb5;hpb=57d365a67aaef76497b85e9a18b785c562652b16;p=libfirm diff --git a/ir/adt/set.c b/ir/adt/set.c index d0c2b18be..6411e38ef 100644 --- a/ir/adt/set.c +++ b/ir/adt/set.c @@ -1,5 +1,5 @@ /* - * Copyrigth (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;