X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fadt%2Fpset_new.c;h=a2e533974ed41620f68a0163141ec5c61e655af4;hb=1852308bd33b77378f0fca9e5347d4f9082464c4;hp=33bc19d0eaa99de8efe9a1c0bf741f4f1c57e6dd;hpb=ccc66742bda5ffb14c4f8a598cd90cc40ba6d8b5;p=libfirm diff --git a/ir/adt/pset_new.c b/ir/adt/pset_new.c index 33bc19d0e..a2e533974 100644 --- a/ir/adt/pset_new.c +++ b/ir/adt/pset_new.c @@ -1,6 +1,29 @@ -#ifdef HAVE_CONFIG_H +/* + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. + * + * This file is part of libFirm. + * + * This file may be distributed and/or modified under the terms of the + * GNU General Public License version 2 as published by the Free Software + * Foundation and appearing in the file LICENSE.GPL included in the + * packaging of this file. + * + * Licensees holding valid libFirm Professional Edition licenses may use + * this file in accordance with the libFirm Commercial License. + * Agreement provided with the Software. + * + * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE. + */ + +/** + * @file + * @brief implementation of pset_new + * @author Matthias Braun + * @version $Id$ + */ #include "config.h" -#endif #include "pset_new.h" @@ -29,5 +52,5 @@ int pset_new_contains(const pset_new_t *pset_new, const ValueType val) { - return pset_new_find(pset_new, val) != NullValue; + return pset_new_find(pset_new, val); }